For AI agents: the complete documentation index is available at /hclapi/llms.txt, the full documentation bundle is available at /hclapi/llms-full.txt, and this page is available as Markdown at /hclapi/docs/manifest/functions/strings/join.md.

join

Concatenates elements in a list of strings using a separator.

Signature

join(separator: string, list: list(string)) -> string

Parameters

ParameterTypeRequiredDescription
separator, liststring, list(string)yesSeparator and values

Return value

Returns the documented result for the function signature.

Example

respond { status = 200, body = { key = join(":", ["GET", ctx.request.path.id, "COMPLETED"]) } }