Was wondering how you could replace the x-th character in a string with another character.
Let's say I have a string "11111111" and I want to replace the x-th "1" with a zero, how do I do that?
Thanks and BTW I know of course of the existence of BitWise.dll and the bit-operators but need this in a string.......
I haven't checked this so there may be an "off by one" in the indexing but you get the idea. For more complex manipulations a StringBuilder, from StringsEx, is more efficient than stringing normal strings together.
Yes, thnx Agraham. I just feared that was the solution. In fact I already heave this implemented but as I hate concatenating with indexes and substrings I hoped there would be a "simple" solution like back in the old days like String[x] = "1".
Thanks again!
Marc