User Tools

Site Tools


syntax:functions:endswith

This is an old revision of the document!


EndsWith(textA, textB)

A search function that is used to check if a string of text ends with specific text.

It returns TRUE if textA ends with textB, otherwise it returns FALSE. This function is case sensitive.

Example Result
endswith( 'Motorola Inc.', 'Inc' ) FALSE
endswith( 'Ruthless', 'less' ) TRUE

Remarks

The function ignores trailing spaces in both arguments. See the example below.

Example Result
endswith( 'Ruthless ', 'less ' ) TRUE

See also

syntax/functions/endswith.1628806721.txt.gz · Last modified: 2021/08/12 18:18 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki