ends-with( a, b )


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

Description of Parameters

Parameter

Description

a

Value.

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