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