Simple:

How do I get the position of an ascii character in the richtextbox when user enters it?

For example:

hello

If I enter e after I have entered "hllo", it should return 2 as the character position.