Spec-Zone.ru › Nushell

url decode for strings

Converts a percent-encoded web safe string to a string.

Signature

> url decode {flags} ...rest

Parameters

  • ...rest: For a data structure input, url decode strings at the given cell paths.

Input/output types:

input output
string string
list<string> list<string>
table table
record record

Examples

Decode a URL with escape characters.

> 'https://example.com/foo%20bar' | url decode
https://example.com/foo bar

Decode multiple URLs with escape characters in list.

> ['https://example.com/foo%20bar' 'https://example.com/a%3Eb' '%E4%B8%AD%E6%96%87%E5%AD%97/eng/12%2034'] | url decode
╭───┬─────────────────────────────╮
│ 0 │ https://example.com/foo bar │
│ 1 │ https://example.com/a>b     │
│ 2 │ 中文字/eng/12 34            │
╰───┴─────────────────────────────╯

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/url_decode.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API