Decodes an encoded HTML URL string.

decodeFromURL(string); → returns string

Argument Reference

string string

The encoded URL string to decode..

Sample code invoking the decodeFromURL function

<cfset string = ''> 
<cfset urlencoded = encodeForURL(string)>
<cfset urldecoded = decodeFromURL(urlEncoded)>
String: #string#<br/>
URL Encoded: #urlencoded#<br/>
URL Decoded: #urldecoded#<br/>

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub