Syntax
reverse(array|string)
Description
The reverse() function reverses the contents of the elements within the array, or a string
Example
foo=[1,2,3,4] foo=reverse(foo) bar="foobar" println(foo) println(reverse(bar)) [4, 3, 2, 1] raboof
reverse(array|string)
The reverse() function reverses the contents of the elements within the array, or a string
foo=[1,2,3,4] foo=reverse(foo) bar="foobar" println(foo) println(reverse(bar)) [4, 3, 2, 1] raboof