That's it! It's exactly what I needed. Basically I want to use the split function to divide textbox string so I can insert other text from another listbox that I click. this will work great. What I'll do is when I click the position of the curser, this will split the string into 2. then I'll reassemble array(0) & newtext & array(1) and replace my original txtbox.
Any other more efficent way of doing this?