…string-expr… STARTS WITH …string-expr…
STRING, STRING -> BOOL
Test if a string starts 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" STARTS WITH "foo" | TRUE |
"foo"||"bar" STARTS WITH 2*"x" | FALSE |