mumu 0.10.0

Lava Mumu is a language for those in the now and that know
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "id": "fn-string-join",
  "dataComponent": "string",
  "heading": {
    "title": "join",
    "badges": ["String", "PARTIAL"]
  },
  "synopsis": "Joins a str-array into a single string using a separator. Partial/placeholder usage supported.",
  "codeBlocks": [
    "extend(\"string\")\n\nsput( string:join(\",\", [\"a\",\"b\",\"c\"]) )\n# => \"a,b,c\"\n\njoinDash = string:join(\"-\")\nsput( joinDash([\"2024\",\"06\",\"11\"]) )\n# => \"2024-06-11\""
  ],
  "notes": [
    "Arguments: separator (string), array (str-array).",
    "Returns a single string.",
    "Partial application and underscore placeholders supported.",
    "If the array is not a str-array, an error is raised."
  ]
}