Functions > String >


StringReverse

Inverse le contenu d'une cha�ne.

StringReverse ( "string" [, flag = 0] )

Param�tres

string La cha�ne � inverser.
flag [optionnel] D�finit la fa�on dont la cha�ne est invers�e
    $STR_UTF16 (0) = invers�e en mode full UTF-16 (valeur par d�faut).
    $STR_UCS2 (1) = une m�thode plus rapide - � utiliser seulement pour du texte UCS-2.

Les constantes sont d�finies dans "StringConstants.au3".

Valeur de retour

Retourne la cha�ne invers�e.

En relation

StringCompare, StringInStr, StringLen, StringLower, StringMid, StringReplace, StringRight, StringSplit, StringTrimLeft, StringTrimRight, StringUpper

Exemple

#include <MsgBoxConstants.au3>

; Inverse la cha�ne "esreveR".
MsgBox($MB_SYSTEMMODAL, "", StringReverse("esreveR"))