This discussion is archived
1 2 Previous Next 16 Replies Latest reply: Jun 25, 2007 7:36 AM by 800282 RSS

Get Ascii value of a string letter

807605 Newbie
Currently Being Moderated
Hi all,

I want to make sure a password is (semi)secure. This means I have to check that the password contains at least one lower case, one uppercase and one number.

I have the ascii codes and I loop through the password, taking out each letter in it using substring.

How can I now compare each letter to the ascii ranges to check if they are valid?

Thanks,

Illu
1 2 Previous Next