please try your code with the Masked Edit Control. Its behavior is different than a regular string variable.

Also, if you enter a number such as " 5 3 5", the masked edit control thinks that this is a valid number! It concatenates it into 535. Man, I may have to go back to text boxes!

Thx.