[ad_1]
String.replaceAll() returns a new string with the specified replacement. You need to do:
myString = myString.replaceAll( "old", "new" );
1
[ad_2]
solved String replaceAll not working with string object [duplicate]
[ad_1]
String.replaceAll() returns a new string with the specified replacement. You need to do:
myString = myString.replaceAll( "old", "new" );
1
[ad_2]
solved String replaceAll not working with string object [duplicate]