Strings & regex
Split and join text
split creates an array; join combines its values with a separator.
.path | split("/") | map(ascii_upcase) | join(" › ")Input and expected output
Input
{"path":"docs/guides/jq"}Expected output
"DOCS › GUIDES › JQ"