Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes Replace specific character in String Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Replace specific character in String" Watch "Replace specific character in String" New topic
Author

Replace specific character in String

Shailender Dabodiya
Greenhorn

Joined: May 08, 2012
Posts: 3

How can I replace a specific character at a specified in a deifined or given String?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32671
    
    4
Go through the methods of the String class, and you should find something useful.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Replace specific character in String
 
Similar Threads
force users to use english character set
changing $ to a different character in javascript variable
How to reverse a string, skiping numbers , and ' ?
identify and replace special character
$ in String.replaceAll() problem