Reverse

Reverses the order of items, such as the characters in a string, the digits in a number, or the elements in an array.

Reverse( string )

Returns: String

Argument Description
string
string, required

A string or a variable that contains one

Examples

writeDump(
		label: "Reverse a string",
		var: reverse("abcd")
	);
	writeDump(
		label: "Reverse empty value",
		var: reverse("")
	);

See also