Spec-Zone.ru › ColdFusion

decodeFromURL

Decodes an encoded HTML URL string.

decodeFromURL(string); → returns string

  • CF10+
  • Lucee
  • BL 1.0.0+
  • See Also: encodeForURL

    Argument Reference

    string string
    Required

    The encoded URL string to decode..

    Compatibility

    BoxLang:

    Version 1.0.0+ Requires the bx-esapi module

    Examples
    Sample code invoking the decodeFromURL function

    Tag Syntax

    <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>
    

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/decodefromurl

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API