Reverse - Function SummarySummary:Reverses a series. Usage:reverse value Arguments:value - The value argument. (must be: series tuple pair) Refinements:/part - Limits to a given length or position. range - The range argument. (must be: integer series) Description:Reverses the order of elements in a series or tuple.
The /PART refinement reverses the specified number of elements from the current index forward. If the number of elements specified exceeds the number of elements left in the series or tuple, the elements from the current index to the end will be reversed.
Note that reverse returns the position just past the reverse operation.
For tuple values the current index cannot be moved so the current index is always the beginning of the tuple.
Related:find - Finds a value in a series and returns the series at the start of it.
| |||||
|