Skip to content

Checks whether a string ends with a specified suffix.

func.ends_with(<str>, <suffix>)
func.ends_with('hello world', 'world')
┌───┐
1
└───┘
ENDS_WITH(<str>, <suffix>)
SELECT ENDS_WITH('hello world', 'world');
┌───┐
1
└───┘