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 │└───┘