| Author |
simple String question
|
Nikos Stavros
Ranch Hand
Joined: Feb 24, 2006
Posts: 243
|
|
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.
|
Jesus lives
|
 |
Balasubramanian Chandrasekaran
Ranch Hand
Joined: Nov 28, 2007
Posts: 215
|
|
This one will do the trick
|
 |
Nikos Stavros
Ranch Hand
Joined: Feb 24, 2006
Posts: 243
|
|
Thanks mate nice and helpful! Merry Xmas
|
 |
bart zagers
Ranch Hand
Joined: Feb 05, 2003
Posts: 234
|
|
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:
|
 |
Balasubramanian Chandrasekaran
Ranch Hand
Joined: Nov 28, 2007
Posts: 215
|
|
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.
|
 |
Nikos Stavros
Ranch Hand
Joined: Feb 24, 2006
Posts: 243
|
|
|
I should read more Javadoc!
|
 |
 |
|
|
subject: simple String question
|
|
|