Skip to main content

Reverse-String

Command Description

Reverse string arrangement

Command Prototype

sRet = StrReverse(sText)

Parameter Description

ParameterRequiredTypeDefaultDescription
sTextTruestring""The string to be operated on

return

sRet,The variable used to save the output of the command.

Demo

TracePrint("----------------------Invert the text----------------------- -") 
//-------------------------------------------------------------------------------
//[Remarks] Arrange the strings in reverse order.
//Input parameter 1:
// sText--the string to be processed.
//out parameters:
// sRet--The variable to which the output of the function call is saved.
//
//Command prototype: sRet=StrReverse(sText)
//-------------------------------------------------------------------------------
sRet = StrReverse ("UiBot")
TracePrint (sRet)