Anyone know how to make a button when you can press it and it will check to see for a change. I need to be able to do this so say your typing and i want to check for a change, or i want to see when someone is typing. Would it be possible to check what they are typing. I want to be able to do this so i can check for certain things that people type and then have my function change something about it.
Kind of like if someone were to type

then right when i hit space or what not it would change the

to something else.
I basically just need to know how to check on change as i know how to get the text from the text box.
Another thing how do you move the cursor to the last position. Thats another thing i cant seem to figure out.
Thanks.