arraycolumn(
ARRAY
,
COLNUM
,
ROWSEP
,
COLSEP
)

The arraycolumn( function extracts a column from a two dimensional array.


Parameters

This function has four parameters:

array – the original array

colnum – the column to extract – 1 for the first column, 2 for the second column, etc.

rowsep – the separator character or characters between rows in the array.

colsep – the separator character or characters between columns in the array.


Description

This function extracts a column from a two dimensional array.

arraycolumn("red=1,green=2,blue=3,black=4",1,",","=") ☞ red,green,blue,black
arraycolumn("red=1,green=2,blue=3,black=4",2,",","=") ☞ 1,2,3,4

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0 but more than one character is now allowed for use as the rowsep and colsep parameters.