STRPOS (Lakehouse v2)
Returns the position of the first occurrence of a substring. Alias for LOCATE.
Analyze Syntax
Section titled “Analyze Syntax”func.strpos(<str>, <substr>)Analyze Examples
Section titled “Analyze Examples”func.strpos('hello world', 'world')
┌───┐│ 7 │└───┘SQL Syntax
Section titled “SQL Syntax”STRPOS(<str>, <substr>)SQL Examples
Section titled “SQL Examples”SELECT STRPOS('hello world', 'world');
┌───┐│ 7 │└───┘