Skip to content

EndsWith

Shaun Lawrence edited this page Nov 4, 2020 · 2 revisions

Returns a boolean result indicating whether the supplied text parameter ends with the supplied value.

EndsWith(text, value)

Parameters

text

The string text to search inside.

Type string
Required Yes

value

The string value to find at the end.

Type string
Required Yes

Examples

EndsWith("reading between the lines", "the")

Returns false in this example because 'the' is not at the end.

Clone this wiki locally