INSTR (Lakehouse v2)
Renvoie la position de la première occurrence d’une sous-chaîne dans une chaîne.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.instr(<str>, <substr>)Exemples Analyze
Section intitulée « Exemples Analyze »func.instr('hello world', 'world')
┌───┐│ 7 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »INSTR(<str>, <substr>)Exemples SQL
Section intitulée « Exemples SQL »SELECT INSTR('hello world', 'world');
┌───┐│ 7 │└───┘