ends-with( a, b )


Returns true if text a ends with the character sequence b, otherwise false is returned.

Description of Parameters


Parameter

Description

a

Text.

b

Suffix to check for.


Examples


Parameter a

Parameter b

Result

abcdef

1

false

abcdef

f

true

abcdef

def

true

abcdef

abcdef

true

abcdef

abcdefg

false