Function Reference


StringReverse

Reverses the contents of the specified string.

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

Parameters

string The string to reverse.
flag [optional] Changes the way the string is reversed
    $STR_UTF16 (0) = reversed in full UTF-16 mode. (default)
    $STR_UCS2 (1) = a much faster method - only use if using UCS-2 text.

Constants are defined in "StringConstants.au3".

Return Value

Returns a reversed string.

Related

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

Example

#include <MsgBoxConstants.au3>

; Reverse the string esreveR.
MsgBox($MB_SYSTEMMODAL, "", StringReverse("esreveR"))