ends-with()

This function returns "true" if text a ends with the character sequence b, otherwise "false" is returned.

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