Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Replacing all " into \" in a string.

807569Aug 23 2006 — edited Aug 23 2006
I have a huge string which contains ". I have to change all the " into \". I tried the String.replace( ) but not sure how to make it work. I need that special escape character to specify for the replacement. Please help.....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2006
Added on Aug 23 2006
4 comments
149 views