BBjString::endsWith
Description
In BBj 7.0 and higher, this method tests if this string ends with the specified suffix.
Syntax
Return Value |
Method |
---|---|
boolean |
endsWith(string suffix) |
Parameters
Variable |
Description |
---|---|
suffix |
The suffix. |
Return Value
Returns true if the character sequence represented by the argument is a suffix of the character sequence represented by this string; false otherwise. Note that the result will be true if the argument is the empty string or is equal to this String object as determined by the BBjString::equals(Object) method.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.