Previous Topic

Next Topic

Join - MaxBasic Function

Join(StringList: Object, Delimiter: String): String

Given a StringList object and a Delimiter, returns a delimited string.

Join function syntax has these named arguments:

Parameter

Description

StringList

Required. A list of strings to be delimited.

Delimiter

Required. String to be used as the delimiter.

Sample code:

  Dim SL as Object
  SL = CreateObject("Accredo.StringList")
  s = "1,2,3,4"
  SL.CommaText = s
  t = Join(SL, "|")
  Print t

Returns: 1|2|3|4

See Also

String Functions

Book Contents

Book Index