locate
function
Applies to: Databricks SQL Databricks Runtime
Returns the position of the first occurrence of substr
in str
after position pos
.
This function is a synonym for position function.
Arguments
subtr
: ASTRING
expression.str
: ASTRING
expression.pos
: An optionalINTEGER
expression.