STRJOIN Function
Concatenates all of the elements of a string array into a single scalar string.
Usage
result = STRJOIN(string[, sep])
Input Parameters
string—A string array whose elements are to be concatenated.
sep—(optional) A scalar string that is used to separate adjoining elements of the input array.
Returned Value
result—A scalar string.
Keywords
None.
Example
A string array of directory names is concatenated into a string that can be used for a !Path system variable definition.
dirs = ['/bin','/usr/bin','/usr/local/bin', $
   '/etc','/usr/ucb/bin', '/usr/sbin']
path = STRJOIN(dirs, ':')
PRINT, path
; PV-WAVE prints the following:
; /bin:/usr/bin:/usr/local/bin:/etc:/usr/ucb/bin:/usr/sbin
See Also