How to count number of characters in textbox in ASP.net?

adamskiii

New member
On my current form I have it validating a Canadian Postal Address (xxx xxx). The space is optional but if they do not use a space, then once the validation passes it will insert one. How can I count the first 3 characters of the textbox, insert a space, then add the rest of the characters?

Thank you
Im am doing it in VB
 
Back
Top