Returns a string created by joining a number of substrings contained in a hash (array).
Join strvar = hashvar[], delimiter
With Join all elements of a Hash String are joined together, separated with delimiter.
Delimiter is the string (character) used to separate the substrings in the returned string. If delimiter is a zero-length string, all items in the list are concatenated with no delimiters.
Dim h As Hash String
Dim s$ = "name,vor,str,12,,Köln,,Fax:0111-123467"
Split h[] = s$, ","
Clr s$
Join s$ = h[], ","
Print s$
This is the same as
Dim h As Hash String
Dim s$ = "name,vor,str,12,,Köln,,Fax:0111-123467"
Split h[] = s$, ","
Clr s$
Dim i%
s$ = ""
For i% = 1 To h[%]
s$ = s$ + h[% i]
If i != h[%] s$ = s$ + ","
Next
Print s$
{Created by Sjouke Hamstra; Last updated: 11/10/2014 by James Gaite}