hi
i want to know if in jme exist an function that take an string and changes individual letters, for example, i got the next string:
"hello"
and i want that the "e" become "#"
and the result, will be "h#llo"
or, how can i make this change?
thanks
hi
i want to know if in jme exist an function that take an string and changes individual letters, for example, i got the next string:
"hello"
and i want that the "e" become "#"
and the result, will be "h#llo"
or, how can i make this change?
thanks
String myStr = "hello!";
myStr = myStr.replace('e','#');