This command will return take a JSON array of strings and return a single string joined with the delimiter.
string join '|' '["one","two","three"]'
Would return one|two|three
NOTE: To read content from standard input we use the -i -
option.
echo '["one","two","three"]' | string join '|'
Would return one|two|three