aspose file tools*
The moose likes Java in General and the fly likes Optium way to replace special character  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Optium way to replace special character  " Watch "Optium way to replace special character  " New topic
Author

Optium way to replace special character

Raj kalaria
Ranch Hand

Joined: Sep 08, 2005
Posts: 72
Hi,

I want to replace all the ' (single appostrophe) with '' (two times appostrophe) in my string.

I know we can do with

mystring.replace(','')

Can some one tell me if there is any better logic or way other then this.

Any suggestions would be help full.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923



http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Optium way to replace special character
 
Similar Threads
Is there any way I can fix my memory stick?
replace string in the body using javascript1.3 in Netscape navigator
replacee / with \
How to Remove System.out.println() in my Application Code
replacing a regex wild card