Description
Decodes a string value using URL decoder.
Applies to
CoderObject object
Syntax
coder.UrlDecode ( variable )
Argument |
Description |
---|---|
coder |
The name of the CoderObject object. |
variable |
A string whose value is the data you want to decode with URL decoder. |
Return value
Blob. Returns the result of the decoding if it succeeds. If any argument's value is null, the method returns null. If an error occurs, throw the exception.
Examples
This statement decodes the data that is encoded using URL.
Blob lblb_data String ls_UrlStr CoderObject lnv_CoderObject lnv_CoderObject = Create CoderObject //ls_UrlStr = lnv_CoderObject.UrlEncode(Blob("https://www.appeon.com", EncodingANSI!)) ls_UrlStr = "https%3A%2F%2Fwww.appeon.com" lblb_data = lnv_CoderObject.UrlDecode(ls_UrlStr) messagebox("UrlDecode", string(lblb_data, EncodingANSI!))
See also