join
Join a list with a string, like Python's str.join(list).
def join(
value: iterable,
arg: string,
autoescape: boolean = True
) - > string
Join a list with a string, like Python's str.join(list).
Parameters
| Name | Type | Description |
|---|---|---|
| value | iterable | The collection of items to be joined into a single string. |
| arg | string | The separator string used to join the elements in the value iterable. |
| autoescape | boolean = True | Determines whether the separator and individual values are automatically escaped for HTML safety before joining. |
Returns
| Type | Description |
|---|---|
string | A string containing the joined elements, marked as safe for HTML output. |