[#absl-UrlUnescape] = xref:absl.adoc[absl]::UrlUnescape :relfileprefix: ../ :mrdocs: Performs the inverse transformation of UrlEscape(), converting each percent‐encoded sequence of the form "%AB" into the character with the hexadecimal value 0xAB. It returns `std::nullopt` if any % is not followed by two hexadecimal digits. == Synopsis Declared in `<absl/strings/escaping.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] std::optional<std::string> UrlUnescape(std::string_view input); ---- == Description UrlUnescape() is identical to UrlUnescapePlus() except that it does not unescape '+' to ' '. == Return Value The unescaped string, or `std::nullopt` on malformed input. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *input* | The percent‐encoded string to unescape. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#