…string-expr… ENDS WITH …string-expr…
STRING, STRING -> BOOL
Test if a string ends with a given substring.
Unlike the LIKE operator, does not require any of its operands to be a literal string value.
| expression | evaluates to |
|---|---|
| "foobar" ENDS WITH "bar" | TRUE |
| "foo"||"bar" STARTS WITH 2*"x" | FALSE |