Jump to content

URL decoding: Difference between revisions

m
Line 924:
{{out}}
<pre>http://foo bar/</pre>
 
----
 
Using the built-in URLDecode (http://reference.wolfram.com/language/ref/URLDecode.html) function:
{{out}}
<pre>
In[]:= URLDecode["http%3A%2F%2Ffoo%20bar%2F"]
Out[]= "http://foo bar/"
 
In[]:= URLDecode["google.com/search?q=%60Abdu%27l-Bah%C3%A1"]
Out[]= "google.com/search?q=`Abdu'l-Bahá"
 
In[]:= URLDecode[{"Kurt+G%C3%B6del", "Paul+Erd%C5%91s"}]
Out[]= {"Kurt Gödel", "Paul Erdős"}
</pre>
 
=={{header|MATLAB}} / {{header|Octave}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.