decodeFromURL

Decodes an encoded HTML URL string.

decodeFromURL(String encodedinput); → returns string

decodeFromURL Argument Reference

inputString
Required

The encoded URL string to decode..

Examples sample code invoking the decodeFromURL function

<cfset string = 'http://www.adobe.com/'> 
<cfset urlencoded = encodeForURL(string)>
<cfset urldecoded = decodeFromURL(urlEncoded)>
 <cfoutput>
String: #string#<br/>
URL Encoded: #urlencoded#<br/>
URL Decoded: #urldecoded#<br/>
</cfoutput>

Fork me on GitHub