ArrayToStr

Accepts a single dimension array and returns a text string constructed from the concatenation of each array element.

Syntax:

ArrayToStr( array )

Parameters:

(a) array: a one dimensional array.

Returns:

(s) string: string of characters.

 

This function takes a  one dimension array and creates a string with the same number of characters as there are elements in the array.

Note: This function ignores embedded arrays and their elements.

Example:
arrName = ArrayFromStr( AskLine( 'ArrayFromStr', 'Please type in your name', 'Joe Blow' ) )
strName = ArrayToStr( arrName )
count = ArrInfo(arrName, 1 )
Pause( 'Your Name: ' : strName , 'Has ': count : ' characters in it.')
Exit
See Also:

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