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!

Replace Single Quote with double quote

800462Mar 17 2009 — edited Mar 17 2009
Hi All,

I have a String s="help'me'to'replace";

i want to replace single quote( ' ) in to double quote ( " )

The final out put should be like this help"me"to"replace

( Actually this string i have to pass in to an XML )

Please help any one
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2009
Added on Mar 17 2009
5 comments
120 views