Link to home
Start Free TrialLog in
Avatar of Ernesto
ErnestoFlag for Mexico

asked on

made contain username in password case insensitive

I need to stop the user register if the username is contained in the password
this work for me

password.Contains(username)

Open in new window


But i need it to stop the registration if is

Ernesto or ernesto

at this moment just if is  ernesto or ernesto  quits

i mean, how to do it no mater the  CASE!

regards
Avatar of Arana (G.P.)
Arana (G.P.)

password.Contains(UCASE(username))

or probably

UCASE(password).Contains(username)
Avatar of Ernesto

ASKER

Oh men! Neither!
regards
ASKER CERTIFIED SOLUTION
Avatar of HainKurt
HainKurt
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ernesto

ASKER

Oh men! your always!