OffsetToIndex Function

Syntax

String OffsetToIndex(Array array, Number offset)

Return Value

String

Returns the String array index.

Purpose

This function returns the array index string that is equivalent to the specified numeric offset. The index has the syntax "[i][j][k]", with an integer value in square brackets for each dimension of the source array. Note: to convert from an index to an offset, use the IndexToOffset function.

Parameters

array as Array

An array.

offset as Number

The offset for which the respective string index needs to be found.