var vLen as Int var vOriginal as String vOriginal = Test //Runs before any @Replace code and captures what was originally typed. If @Right(TEST,1) = Some value Then { Use @Replace to remove the last char // Modify the TEXT data for three strings TEST = @Replace(TEST,x,newx) TEST = @Replace(TEST,y,newy) TEST = @Replace(TEST,z,newy) @Play("Sound",400,500) CEND } vLen = @vLen(TEST) //Some kind of criteria signifying that the @Replace code had to run/needed to run. Like maybe taking what was originally typed in the field and storing that in a variable and creating a second variable that stores the field data after the @Replace code runs. Then comparing the two and if they don't equal <> then the If statement runs. If vLen > 0 Then { If vOriginal <> TEST Then { CursorPosition(TEST, vLen) }