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" );