Home > comp > gb > string[] > join 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
String[].Join (gb)
Syntax
FUNCTION Join ( [ Separator AS String, Escape AS String ] ) AS String
Concatenates the strings stored in the arrays.

Escape characters inside strings are duplicated.

This function is the contrary of the Split subroutine.

Examples

DIM aClaim AS String[]

aClaim = [ "Gambas", "Almost", "Means", "Basic", "!" ]
PRINT aClaim.Join("/")
PRINT aClaim.Join(",", "!")

Gambas/Almost/Means/Basic/!
!Gambas!,!Almost!,!Means!,!Basic!,!!!!

See also

Split