The Reverse function returns the reversal of its string argument.
result = Reverse( string ) |
Examples:
say Reverse( 'reverse' ) -- shows: esrever say Reverse( 'oho' ) -- shows: oho, a short palindrome say Reverse( 'able was i ere i saw elba' ) -- shows: a palindrome for Napolean |