Language Reference Guide : System Classes : StringObject Class : Join Method
 
Share this page          
Join Method
The Join method concatenates an array of StringObjects to the cleared host StringObject and returns that StringObject. If a delimiter is supplied, it is interpolated between joins.
This method has the following syntax:
StringObject = StringObject.Join(strings = array of StringObject
          [, delimiter = varchar(256)])
This method has the following parameters:
strings
(Required) Specifies the array of StringObjects that are to be concatenated
delimiter
Specifies a string that is to be interpolated between each StringObject in the array during the join
Any existing contents of the host StringObject are intentionally lost (unlike ConcatString (see ConcatString Method). However, if the host is an element of the array, its contents will be preserved and included in the join.
If no parameter is passed, the StringObject is unchanged.
This method returns a StringObject (the one on which the method call was made).