# join_text_list · FT4 Rell API · Chromia Docs (concept)

> function join_ text_ list(components: list<text>, count: integer): text Utility function that builds a mount scope given all the parts of it and a number i

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/join_text_list/

FUNCTION

# join\_text\_list

```signature
function join_text_list(components: list<text>, count: integer): text
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/auth/module.rell#lines-403)

Utility function that builds a mount scope given all the parts of it and a number indicating
the depth.
Example:
`join_text_list(["a", "b", "c"], 2)` outputs `"a.b"`

Throws `"INPUT ERROR"` if:

* count is 0, or
* count is greater or equal to the `components` size

**Parameters**

* **components** — the components of the mount name
* **count** — the depth of the new mount name to return

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.auth/join_text_list.html)Generated API reference, mirrored from the live docs
