Say I open a text file in a richtextbox control. After that I search for a specific string like "6.1". The string actually continues like "6.1XXXXXXX". I need to get not just only "6.1", but also 2 more chars after "6.1", like "6.1XX". i will then output this in a textbox, but i can do that, I don't know how to get the X number of characters, any help or idea with that?