STRPOS(Lakehouse v2)
部分文字列が最初に現れる位置を返します。LOCATE の別名です。
Analyze 構文
Section titled “Analyze 構文”func.strpos(<str>, <substr>)Analyze の例
Section titled “Analyze の例”func.strpos('hello world', 'world')
┌───┐│ 7 │└───┘SQL 構文
Section titled “SQL 構文”STRPOS(<str>, <substr>)SQL の例
Section titled “SQL の例”SELECT STRPOS('hello world', 'world');
┌───┐│ 7 │└───┘