J
John Smith
Hi all,
I want to ensure that a variable does not contain spaces, and other
non-alpha-numeric characters such as !#$%^&*()-=+, etc... Basically, this
variable is a username that someone is sending to me and will only be 4 to
10 characters long. It must only contain numbers and letters, otherwise I
will reject it.
Is there a quick way to do this or must I create a loop and check every
letter?
Thanks for all,
Guy Doucet
I want to ensure that a variable does not contain spaces, and other
non-alpha-numeric characters such as !#$%^&*()-=+, etc... Basically, this
variable is a username that someone is sending to me and will only be 4 to
10 characters long. It must only contain numbers and letters, otherwise I
will reject it.
Is there a quick way to do this or must I create a loop and check every
letter?
Thanks for all,
Guy Doucet