# Not case sensitive input of username?

**URL:** https://forum.kirupa.com/t/not-case-sensitive-input-of-username/249587
**Category:** Uncategorized
**Created:** [January 20, 2008, 3:34pm UTC](https://forum.kirupa.com/t/not-case-sensitive-input-of-username/249587 "2008-01-20T15:34:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brian914](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@brian914](https://forum.kirupa.com/u/brian914)
#### Post date: [January 20, 2008, 3:34pm UTC](https://forum.kirupa.com/t/not-case-sensitive-input-of-username/249587/1 "2008-01-20T15:34:13Z")

</div>

I have a login section that has a username and password input field. I am not sure if I am doing this right, but since there is only one username and one password, this is how I did this.

function checkPassword(userN:String, passW:String):Void {  
if(userN == “collections” && passW == “winter2008”){  
//let user proceed  
}else{  
//error message  
}  
}

My question now is how can I have the username not be case sensitive. Is that possible?

Thanks a lot for any help!
