How to change char in String?

RazRaz
edited March 2016 in Programming Questions

How to change part of string to something else? Like:

 String a="14819021541";

I want for example that all the "1" will be change to something else (like "2"). How can I do that?

Tagged:
Sign In or Register to comment.