STRING::UNESCAPE_PATH 1g 2023-11-12 laplante@plcb.ca GOWEB/STRING — Decode Escaped Paths


title: “STRING::UNESCAPE_PATH” version: “1.0.0” date: 2023-11-12 author: “laplante@plcb.ca” section: “1g” category: “GOWEB/STRING”


Name

string::unescape_path Decode Escaped Paths

Synopsis

string::unescape_path(string)
unescape_path(string)
string::unescapePath(string)
unescapePath(string)

Description

The unescape_path function decodes a string previously encoded using escape_path. It restores special characters that were percent-encoded or escaped for safe use in paths.


Examples

res={{
    a := { "array" : [1,2,3] };
    unescape_path(escape_path(a));
    unescape_path(escape_path("A long/string"));
    unescape_uri(escape_uri(a));
    unescape_uri(escape_uri("A long/string"));
}}.

Returns:

{"array":[1,2,3]}A long/string{"array":[1,2,3]}A long/string

Author

laplante@plcb.ca

See Also


Version