You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


reverse

Returns the reverse of its string argument.

Example

Applying

reverse('abc')

produces cba.

Syntax

reverse(string str)
  • str : string to reverse

Returns

string

Notes

Takes the string str and reverses the order of the characters such that the last is first, second to last is second and so on.


© Incorta, Inc. All Rights Reserved.