INSTR (Lakehouse v2)
Retorna a posição da primeira ocorrência de uma substring em uma string.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.instr(<str>, <substr>)Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.instr('hello world', 'world')
┌───┐│ 7 │└───┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”INSTR(<str>, <substr>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT INSTR('hello world', 'world');
┌───┐│ 7 │└───┘