equals(String anotherString): boolean
Indicates whether or not this string is equal to the specified string. The result is true if and only if the argument is not null and is a string that represents the same sequence of characters as this string. Case (upper/lower) must match in order for the strings to be considered equal.
Input Parameters
anotherString | String The string to compare this string against. |
Return Value
Boolean Returns true if the argument is not null and it represents an equivalent string, false otherwise. |