fn: join
[contents]
f++ :
n++ :
Contents
Syntax
The syntax for
join{options}(object, string)
join{options}(object, string, begin)
join{options}(object, string, begin, end)
@join{options}(object, string)
@join{options}(object, string, begin)
@join{options}(object, string, begin, end)
Description
The
Options
The following options are available for
| option | description |
|---|---|
| add separator at beginning | |
| add separator at end | |
| add separator at both beginning and end | |
| option | description |
f++ example
Examples of
int eg.size = 3
string eg[0] = "cat",
eg[1] = "dog",
eg[2] = "%"
console("{", join(eg, "; "), "}")
n++ example
Example of
@int eg.size = 3
@string eg[0] = "cat",
eg[1] = "dog",
eg[2] = "%"
@console("{", join(eg, "; "), "}")

![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../../images/freebsd.webp)
