So, like I say in the Title I need to replace a single letter in a String in a position; I have done it creating two substring before and after the position and then recreating a single string with the new letter in the middle (Ex: if I want to change the letter “t” of the String “antani” with “Y”, I create two String, “an” and “ani” and I join them with “Y” in the middle obtaining “anYani”)
The problem is that I need to use a counter and is easy to make a mistake that is difficult to find.
There isn’t a simpler way to do it like 1 simple Action?
In my project I may have to run it even ten thousand times or more every 0.1-0.2 seconds… do you think this method and your (with Java) can have different impact on the processing power, where your is faster?