Join
From REALbasicWiki
Contents |
[edit] Prototype
Function Join( sourceArray() as String, delimiter as String = " " ) As String
[edit] Description
Join returns a String formed by concatenating all the elements of the sourceArray. the optional delimiter is added between each element. The delimiter can be any string but defaults to a single space. Join was added to REALbasic in version 5.5.
[edit] Discussion
[edit] Sample Code
dim sourceArray() As String = Array("One", "Two", "Three")
MsgBox Join(sourceArray, EndOfLine)
