Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


replace a character at a specific index in a string


replace a character at a specific index in a string  using -'java,string,replace,indexing,character'

I'm trying to replace a character at a specific index in a string.

What I'm doing is:

String myName = "domanokz";
myName.charAt(4) = 'x';


This gives an error.  Is there any method to do this?
    

asked Sep 9, 2015 by WileyX66mqvn
0 votes
6 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...