wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes String.......... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "String.........." Watch "String.........." New topic
Author

String..........

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
check case insensitivity.......
I have a form which accepts username and password, for which i want to make these data as case insensitive and verify these entered data with the data stored in the database(don't know how the data is stored in the database).
can anyone please help me.
Thanks!

Kishan Kumar
Ranch Hand

Joined: Sep 26, 2000
Posts: 130
You can use equalsIgnoreCase() method of the String class.
Hope that helps.

------------------
Regards,
V. Kishan Kumar


Regards,<BR>V. Kishan Kumar
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
VVV - PROPER NAMES ARE NOW REQUIRED!
See http://www.javaranch.com/ubb/Forum10/HTML/000180.html for details.
Ajith


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: String..........