Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products. All content is subject to change and is provided without warranty.
RTrim - fonction de script et fonction de graphique
RTrim() renvoie la chaîne d'entrée exempte de tout espace de fin.
RTrim(text)
chaîne
Exemple
Résultat
RTrim( ' abc' )
Renvoie ' abc'.
RTrim( 'abc ' )
Renvoie 'abc'.
Set verbatim=1;
T1:
Load *, len(RtrimString) as RtrimStringLength;
Load *, rtrim(String) as RtrimString;
Load *, len(String) as StringLength;
Load * Inline [
String
' abc '
' def '];
Note InformationsL'instruction "Set verbatim=1" est incluse dans l'exemple pour garantir que les espaces ne sont pas automatiquement tronqués avant le démonstration de la fonction rtrim. Voir Verbatim pour plus d'informations.
Si vous rencontrez des problèmes sur cette page ou dans son contenu – une faute de frappe, une étape manquante ou une erreur technique – dites-nous comment nous améliorer !