string.reverse()

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

string.reverse( )

Returns: String

This function does not take any arguments.

Examples

str = " eecuL evoL I";
	writedump(str.reverse());
	writeoutput("<br>");
	str1 = "";
	writedump(str1.reverse());

See also