Arrayize

Converts a delimited list to an array.

Syntax:

Arrayize( list, delimiter )

Parameters:

(s) list: delimited list.

(s) delimiter: list delimiter.

Returns:

(a) array: a one dimensional array.

 

This function takes a delimited list, and creates a one-dimension array with the same number of elements as the number of items in the list, setting each element to the value of the corresponding item in the list. I.e., it converts a delimited list to an array.

 

Example:

list=FileItemize("*.*")
array=Arrayize(list,@TAB)
For request = 0 To 6
   info = ArrInfo (array, request)
   Message("Array info: Request %request%", info )
Next
See Also:

Arrays, ArrayFileGet, ArrayFileGetCsv, ArrayFilePut, ArrayFilePutCsv, ArrayFromStr, ArrayInsert, ArrayItemize, Arrayize, ArrayLocate,  ArrayRedim, ArrayRemove, ArrayReverse, ArraySort, ArraySwapElements, ArrayToStr, ArrDimension, ArrInfo, ArrInitalize, Drop