
February 24th, 2013, 08:12 AM
|
|
Contributing User
|
|
Join Date: Dec 2012
Posts: 38
Time spent in forums: 7 h 16 m 19 sec
Reputation Power: 1
|
|
Escape conversion (comma)
In my program, a comma is used as a separator of strings. If I have a string, say "Hello, world"
How can I convert the "," character to an escaped character such as "\," or "\c".
I tried:
Code:
myString = myString.replaceAll(",", "\c");
but to no avail.
|