• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Replace specific character in String

 
Shailender Dabodiya
Greenhorn
Posts: 3
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I replace a specific character at a specified in a deifined or given String?
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go through the methods of the String class, and you should find something useful.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic