Cold Help System: Programming: ColdC Reference Manual: Functions: List: join()


LIST join(LIST list[, STRING seperator])

This function joins a list together as a string. The second argument is used to specify what seperates each element in the list. If the second argument is unspecified, this will default to a single space. If any element in the list is not a string, it will have a literal representation used instead, in the same manner as when using Non Arithmetic Operators. Examples:

join(["Joe", "Sally", "Bob", "Sue"])
=> "Joe Sally Bob Sue"
join(["This", "That", 'there, 10], ", ")
=> "This, That, there, 10"


delete() | insert() | join() | listgraft() | listlen() | replace() | setadd() | setremove() | sublist() | union() | listidx()


the Cold Dark