Skip to main content Skip to complementary content

REVERSE

Reverses the order of the characters within the given input string.

Syntax

REVERSE(STRING)

Arguments

STRING

Type: string

A sequence of characters.

Returns

Type: string

STRING with its characters in reverse order.


Examples

STRING Output
string gnirts
a a
abc cba
123 321

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!