Reverse
Reverse the order of characters in a string
Method Signature
Reverse(string=[string])Arguments
Argument
Type
Required
Description
Default
string
string
true
The string to reverse.
Examples
Reverse a string
reverse( "Hello World" );
Result: dlroW olleH
Reverse a number
reverse( 123456789 );
Result: 987654321
Additional Examples
Related
Last updated
Was this helpful?
