# 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=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| string | string | Yes | A string or a variable that contains one |  |

# Examples

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







# Categories

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

# See Also

[string.reverse()](../objects/string/reverse.md)