endswith()

Function group Execute on client Platform(s)
String YES All

Syntax

endswith(string,end[,ignorecase=kFalse])

Description

Returns true if the string ends with the non-empty string end. If ignorecase is kTrue, the function uses case-insensitive comparison.

Example

Calculate lString as  'One Code'
 
If endswith(lString,'Code')
  # returned True
End If
 
Calculate lBoolean as endswith(lString,'CODE',kTrue)
# lBoolean = True