EndsWith

Determines whether the end of a string matches the specified string.

Syntax

String.EndsWith
   ·  [text]
   ·  [value]

Parameters

text
The input string.
value
The string to compare.

Return Value

True if the value matches the end of the input string or false otherwise.