- Overview
- Data types
- Commands
- Functions
- Overview
- Aggregate
- Conditional expression
- Conversion
- Date and time
- Numeric
- String
- Semi-structured data
On this page
ends_with
Returns true if <expr1> ends with <expr2>. Both expressions must be strings.
Syntax
ends_with( <expr1> , <expr2> )
Returns
Returns a boolean. The value is TRUE if <expr1> ends with <expr2>. Returns NULL if either input expression is NULL. Otherwise, returns FALSE.