[Logo]
Forums Register Login
simple String question
Hi, there

say I wanted to change a String "I'm" in to "I\'m"

would I use this


that doesn't seem to work.
This one will do the trick

Thanks mate nice and helpful!

Merry Xmas
Well, the behavior is mentioned in the Javadoc.
Apparently, the backslash and the $-sign have a special meaning and you have to do it like:
 

Originally posted by bart zagers:
Well, the behavior is mentioned in the Javadoc.
Apparently, the backslash and the $-sign have a special meaning and you have to do it like:



Thanks Bart thats quite interesting.
I should read more Javadoc!
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 1067 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 19, 2018 22:26:59.