REVERSE

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API

Returns a string with characters in reverse order.

Syntax 

1reverse(<string>)

Arguments 

Required 

  • <string>: The string to reverse.

Returns 

Returns a text value with characters in reverse order.

Considerations 

  • For multi-byte UTF-8 characters, individual characters are preserved and reversed.

Examples 

Reverse String 

Reverse the characters in a string.

1SELECT reverse('abcde') AS result;

Returns 'edcba'.

Related Documentation 

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!