join
String / MiscJoins an array into a single string using a separator. Default separator is a comma. Works with any array of primitives.
Syntax
join:separator?separatoroptionalString to place between items. Defaults to ",".Use cases
| Use case | Description | URL | |
|---|---|---|---|
| Comma-separated repo names | Build a CSV-style list of repo names for use in another tool or script. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|pluck:name|sort|join:, | |
| Pipe-delimited user emails | Join user emails with a pipe separator for legacy system imports. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users|pluck:email|join:| | |
| Space-separated language list | Join distinct languages with a space for use in a shell command. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|pluck:language|distinct|sort|join: | |
| Join literal array | Turn a known list of strings into a single joined value. | https://httpip.es/api/pipe/echo:["red","green","blue"]|join:, |