Say I have some text in textbox1 e.g."10 Im 11 today". I then want to click on a command button, and the text goes to textbox2. but i also whant the command button to only read the first set of numbers e.g."10" and stops reading when it gets to the first space so textbox2 = "10" or what ever number is at the start of textbox1.