endsWith(String suffix): boolean
Indicates whether or not this string ends with the specified suffix.
Input Parameters
Return Value
BooleanReturns true if the character sequence represented by the argument is a suffix of the character sequence represented by this object; false otherwise. Note: | The result will be true if the argument is the empty string or is equal to this String object as determined by the equals(String) method. |
|