Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

StringRight()

  • Last UpdatedSep 24, 2024
  • 1 minute read

Renvoie le nombre spécifié de caractères à compter du caractère le plus à droite du texte.

Catégorie

Chaîne

Syntaxe

ResultatChaine = StringRight( leTexte, nbCaractères );

Paramètres

Texte

Chaîne littérale ou attribut chaîne.

nbCaracteres

Nombre de caractères à renvoyer ou un attribut entier.

Remarques

Si nbCaractères est défini à 0, la chaîne entière est renvoyée.

Exemples

StringRight("La pompe est activée", 7) ' renvoie "activée";

StringRight("La pompe est activée", 11) ' renvoie "est activée";

StringRight("La pompe est activée", 87) ' renvoie "La pompe est activée";

StringRight("La pompe est activée", 0) ’ renvoie "La pompe est activée";

Voir également

StringASCII()

StringChar()

StringFromIntg()

StringFromReal()

StringFromTime()

StringInString()

StringLeft()

StringLen()

StringLower()

StringMid()

StringReplace()

StringSpace()

StringTest()

StringToIntg()

StringToReal()

StringTrim()

StringUpper()

Text()

In This Topic