endsWith

endsWith(source: text, pattern: text) 🡒 boolean, pure function

Returns true if the source ends with an occurrence of the pattern.

Example:

source = "Hello World!"
show summary "" a1c2 with
  endsWith(source, "World") as "Ends with World"
  endsWith(source, "World!") as "Ends with World!"

See also