I am making a program which will replace parts of inputed text with another.
The point is that text which is going to be replaced is stored in a variable and text to replace with is stored in variable too.
I have this code:
Code: Select all
ReturnText := StrReplace(InputText, %KeyA%, %KeyB%)
For example:
When I input "AutoHotkey" and KeyA = o, KeyB = q,
I was expecting it to output "AutqHqtkey".
I tried it but it didn´t work...