SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.array‎ > ‎

Join


Platform Objects


Description

Combines elements of an array into a string separated by a delimiter.

Syntax


trg.array.Join( delimiter )

delimiter - Character the will separate the elements of the array


Return value


This function returns a string with the elements of the array separated by the specified delimiter.

Sample

'---------- Start ----------
Function Start

trg.array.Add(66)
trg.array.Add(77)
trg.array.Add(11)
trg.array.Join( "|" )
trg.Message( trg.array.Join( "|" ) )

End Function

See also

Platform Objects and Methods
target.array.Insert
target.array.Last
target.array