# 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

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

# Categories

[Strings](../../../categories/string.md)

# See Also

[Reverse()](../../functions/reverse.md), [String](../string.md)