[#UrlEncode]
= UrlEncode
:mrdocs:

Percent&hyphen;encode a string for use in a URL&period;

== Synopsis

Declared in `&lt;common&sol;url&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
UrlEncode(std::string&lowbar;view str);
----

== Return Value

The percent&hyphen;encoded string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The raw input string&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
