The reverse function

Description

The reverse function returns a value of type string that is formed by reversing the order of the characters in the parameter passed to it. The type of the value returned by this function is always string.

Parameter

The reverse function's only parameter is an expression of string type or char type.

Example

   reverse('Hello!!')   returns  '!!olleH'

Portability

Operating Systems: All
Standard Pascal: No