There's an action "replace" for the text. Currently it replaces all occurrences of a given token in a string. Is it possible to limit it to a token index or a range of indexes (e.g. replace "B" with "X" at 6-12).
The only workaround I can think of is converting this string to an array, than replacing characters in the array and converting it back to text.
I found another work around.
You can combine following string operations:
Set value: left("String",4) & replace(mid("String",5,4)) & right("String",5)
Basically "right" and "left" copies characters from the end an beginning of the string and replace "mid" inserts new characters.
Develop games in your browser. Powerful, performant & highly capable.
Are you sure you don't just want to use an array of strings? It sounds like it'd be easier than doing a lot of string manipulation.
I think, I have a tendency to over-complicate "the code", but in this case it just works fine and saves extra steps of creating an array, pushing values into it (it's a string from XML file).