String.endsWith
Class Overview | Class Members |
This Package |
All Packages
public boolean endsWith( String suffix )
Parameters
- suffix
- the suffix.
Returns
true if the character sequence represented by the
argument is a suffix of the character sequence represented by
this object; false otherwise.
Description
Tests if this string ends with the specified suffix.