I have a variable named gFindWord = dog
So the initial text would look something like: mouse rabbit dog elephant
The text is separated into an array. I want to find the word dog and then insert cat before and after dog.
The goal is after clicking the button the text would look like: mouse rabbit cat dog cat elephant
Unfortunately, I am getting something like this: cat cat mouse rabbit dog elephant
I added a variable called gWordX in hopes to identify the CurX and then use CurX to insert cat. Still not working. Do I even need to identify CurX? Can't I just use CurValue?