Reference

Class

RiString

Name

endsWith

Description Tests if this string ends with the specified suffix
Syntax
endsWith(suffix);
Parameters
Stringstring the suffix
Returns
booleantrue if the character sequence represented by the argument is a suffix of the character sequence represented by this object; false otherwise
Example
myRiString.endsWith("t");
Platform Java / Javascript