INSTR (Lakehouse v2)
返回子字符串在字符串中首次出现的位置。
Analyze 语法
Section titled “Analyze 语法”func.instr(<str>, <substr>)Analyze 示例
Section titled “Analyze 示例”func.instr('hello world', 'world')
┌───┐│ 7 │└───┘SQL 语法
Section titled “SQL 语法”INSTR(<str>, <substr>)SQL 示例
Section titled “SQL 示例”SELECT INSTR('hello world', 'world');
┌───┐│ 7 │└───┘