I think i was looking for this solution before on forum...
Anyway i have a little question, how can I replace character (str) in defined position in text? For example I want to change character in position 3 of text: "AMDSFEDRUJDT" to other character? (In this case the letter on position 3 is "D")
thanks in advance
Develop games in your browser. Powerful, performant & highly capable.
Set s to left(s, 2) & "X" & right(s, len(s)-3)
If you are sure that there is only one occurrence of the character in the string (or if you want to replace all letters "D" with "X"), you can use replace() expression:
Set s to replace (s, "D", "X")
Many thanks