EndsWith()

Returns a Boolean value that indicates whether specified source string ends with the specified search string (case-insensitive).

Syntax

EndsWith(string expression [source], string expression [search])
  • string expression [source]: source string to be searched
  • string expression [search]: search string

Example

EndsWith("Well34", "34") returns True

EndsWith("Well34", "Well") returns False