Syntax
set aBoolean = aString.endsWith(LITERAL)
set aBoolean = aString.endsWith(anotherString)
Semantics endsWith() returns true, if the string aString ends with the string represented by the literal or anotherString. In all other cases, false is returned.
SubstitutablesaBoolean Can be any variable or object attribute having the type Boolean.  
aString, anotherString
Can be any variable or object attribute having the type String.
LITERAL String literal.
Examples
set aBoolean = aString.endsWith("str"); 
set aBoolean2 = aString1.endsWith(aString2.substring(0, 3)); 
  • No labels