Houdini 20.5 Nodes VOP nodes

Reverse VOP node

Adds an item to an array or string.

On this page
Since 14.0

Returns an array in the reverse order.

The string version likewise returns a reversed string.

Note

For strings, this reverses the logical characters of the string, not the bytes of the string. This means that UTF-8 strings are reversed as expected, but differs from the behavior of the ::-1 slice function.

Inputs

Array

The array to reverse.

Outputs

Reversed

The array in reversed order.

See also

VOP nodes