All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jangaroo-runtime.2.0.19.source-code.decodeURIComponent.as Maven / Gradle / Ivy

There is a newer version: 4.1.8
Show newest version
/**
 * API and documentation by Adobe?.
 * Licensed under http://creativecommons.org/licenses/by-nc-sa/3.0/
 */
package {

/**
 * Decodes an encoded URI component into a string. Returns a string in which all characters previously escaped by the encodeURIComponent function are restored to their uncoded representation.
 * 

This function differs from the decodeURI() function in that it is intended for use only with a part of a URI string, called a URI component. A URI component is any text that appears between special characters called component separators (: / ; and ? ). Common examples of a URI component are "http" and "www.adobe.com".

*

Another important difference between this function and decodeURI() is that because this function assumes that it is processing a URI component it treats the escape sequences that represent special separator characters (; / ? : @ & = + $ , #) as regular text that should be decoded.

* @param uri A string encoded with the encodeURIComponent function. * * @return A string in which all characters previously escaped by the encodeURIComponent function are restored to their unescaped representation. * * @see #decodeURI() * @see #encodeURI() * @see #encodeURIComponent() * */ [Native] public native function decodeURIComponent(uri : String) : String; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy