lang • ends

ENDS

Result = String [ Not ] Ends Pattern

Returns TRUE if the String string ends with the Pattern string.

If Not is specified, the test is inverted.

This operator is case sensitive.

Examples

Print "Gambas" Ends "bas"
True
Print "Gambas" Ends "Bas"
False
Print "Gambas" Not Ends "War"
True

See also