endswith()

Function groupExecute on clientPlatform(s)
StringYESAll

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