APPEND_TRAILING_CHAR_IF_ABSENT (Lakehouse v2)
Ajoute un caractère à la fin d’une chaîne s’il n’y figure pas déjà.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.append_trailing_char_if_absent(<str>, <char>)Exemples Analyze
Section intitulée « Exemples Analyze »func.append_trailing_char_if_absent('hello', '!')
┌──────────┐│ 'hello!' │└──────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »APPEND_TRAILING_CHAR_IF_ABSENT(<str>, <char>)Exemples SQL
Section intitulée « Exemples SQL »SELECT APPEND_TRAILING_CHAR_IF_ABSENT('hello', '!');
┌────────┐│ hello! │└────────┘