equalsIgnoreCase
boolean sutil.equalsIgnoreCase ( String stringOne, String stringTwo )
Description
Compare two strings ignoring case.
Parameters
- stringOne First string.
- stringTwo Second string.
Return Values
Returns true if the values of the two strings are equal when case is not considered; otherwise, it returns false.
Change Log
Version | Description |
---|---|
5.0 | Added for all editions. |
Examples
Compare Two Strings (Case Insensitive)
// Compare strings without regard to case
sutil.equalsIgnoreCase( "aBc123","ABc123" );
sutil.equalsIgnoreCase( "aBc123","ABc123" );
scraper on 07/16/2010 at 5:20 pm
- Printer-friendly version
- Login or register to post comments