I am making a code that has a format like this
A-##-##-##-##
B-###-##
C-##
I'm not sure what I would use in vbscript to be able to extract the letter, because it is that letter that determines the input mask of my text box.
Basically what I want is for a person to input their code and if they haven't followed the correct format based on the letter at the beginning, they get an error.
Is there a way to determine what the individual letters of a text box?
Thanks to anyone that can help.
A-##-##-##-##
B-###-##
C-##
I'm not sure what I would use in vbscript to be able to extract the letter, because it is that letter that determines the input mask of my text box.
Basically what I want is for a person to input their code and if they haven't followed the correct format based on the letter at the beginning, they get an error.
Is there a way to determine what the individual letters of a text box?
Thanks to anyone that can help.