Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

Join( )

Action: Creates a string by concatenating the elements of an array.
Syntax: Join (array, “delimiter”, count)


Required. One-dimensional array containing substrings to be joined.


Optional. String character used to separate the substrings in the returned string. If omitted, the space character (" ") is used. If delimiter is a zero-length string (""), all items in the list are concatenated with no delimiters.


Optional. Number of array elements to join.

Returns: A string.
See Also: Split( )
Examples: $Myarray = "aaa", "bbb", "ccc"

$String = Join( $Myarray, "=" ) ; $string now contains "aaa=bbb=ccc"

$String = Join( $Myarray, "=", 2 ) ; $string now contains "aaa=bbb"