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