[strings.join]
strings.join is a slot in the strings namespace, in Hyperlambda, the language of Magic Cloud. Concatenates the values yielded by the expression, inserting the separator between adjacent items.
- Value (
string-list), required: Expression yielding the values to join - Returns: Resolves to the joined string
Arguments
Required arguments come first, then the optional ones in the order they are declared.
| Argument | Type | Required | Description |
|---|---|---|---|
| unnamed child node | string | no | Separator to place between joined values. |
Guide: How to use [strings.join]
JSON declaration
This is the complete declaration of strings.join, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "strings.join",
"description": "Concatenates the values yielded by the expression, inserting the separator between adjacent items",
"signature": {
"input": {
"kind": "string-list",
"description": "Expression yielding the values to join",
"required": true,
"mode": "Expression"
},
"children": [
{
"type": "string",
"kind": "string-separator",
"description": "Separator to place between joined values",
"required": false,
"mode": "ExecutableLambda",
"cardinality": "ZeroOrOne",
"role": "SourceExpression",
"evaluation": "EvalSelf",
"projection": "Value"
}
],
"output": {
"mode": "Value",
"kind": "text",
"description": "Resolves to the joined string"
}
}
}
← strings.html-encode |
all strings.* slots |
strings.length → |