Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Case Sensitivity

Status
Not open for further replies.

bgreenhouse

Technical User
Feb 20, 2000
231
CA
Hi Everyone

While I know that VBScript isn't case sensitive, I was wondering if there is a way you can force it to be. I have a login sequence written in VBScript, and I would like to force case sensitivity when comparing the input PW with the PW in the database. Currently password and PaSSWorD look the same. Any suggestions? I could always pass it to javascript, but I don't really like to do this sort of thing client side...

Ben
 
StrComp(String1, String2, Compare)

The StrComp function compares two strings to see if they are the same. You can have the comparison be sensitive, or not, to the case (upper versus lower) of the characters in the two strings. The default is to be case sensitive (binary comparison).

See full writeup at:
 
Right on. I was sure there was something, but didn't know what it was.

Thanks

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top