Applies to: Databricks SQL Databricks Runtime
Returns the position of a string within a comma-separated list of strings.
searchExpr: A STRING expression specifying the “word” to be searched.
sourceExpr: A STRING expression with commas separating “words”.
The resulting position is 1-based and points to the first letter of the match.
If no match is found for
searchExpr contains a comma, 0 is returned.