Alessandro Vincelli wrote:
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");

Been there, done that... no joy (same error message): It seems it chokes on the "/" (in other words: filters.replace("a", "b") works... but it's not what I want).

I even tried building a RegExp... no way.

Anyway, thanks for your help :)

Regards,

--------------------
   Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to