Hi Luca,
the replace method accpet only java.lang.Character
from javadoc
String replace(char oldChar, char newChar)
you can try with
filters.replace("/a/g", "b");
I hope I helped you
Ciao
Luca Morandini ha scritto:
Folks,
I tried to do the following in a Flowscript function of mine:
filters.replace(/a/g, "b");
...only to be rewarded with:
file:/var/www/obsydyan/scripts/controller.js", line 246: Cannot convert
/a/g to java.lang.Character
Any clue ?
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-------------------------------
Alessandro Vincelli
E-mail: [EMAIL PROTECTED]
tel: +39 339 8695546
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]