EndWith()

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

Syntax

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

Example

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

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