{
  "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."
  ]
}
