DECODEURL$: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
{{PageDescription}} | {{PageDescription}} | ||
* URL decoding may be required when parsing [[Downloading Files|downloaded files]] for additional links and retrieving its addresses. | * URL decoding may be required when parsing [[Downloading Files|downloaded files]] for additional links and retrieving its addresses. | ||
* As it is possible, although not recommended, that a URL was encoded multiple times, this function can be called multiple times too until all encoded chars are resolved again, i.e. until | * As it is possible, although not recommended, that a URL was encoded multiple times, this function can be called multiple times too until all encoded chars are resolved again, i.e. until the the given URL is returned unchanged as is. | ||
* It is safe to call this fucntion with an unencoded URL, it will be simply returned as is. | * It is safe to call this fucntion with an unencoded URL, it will be simply returned as is. | ||
* Note that this function performs no validation of the given URL, it expects a valid URL to be given and just does the decoding. | * Note that this function performs no validation of the given URL, it expects a valid URL to be given and just does the decoding. |
Revision as of 17:26, 13 December 2024
The _DECODEURL$ function is the counterpart for _ENCODEURL$, it returns the decoded plain text URL of the given encoded URL.
Syntax
- result$ = _DECODEURL$(url$)
Parameters
- url$ is the URL to decode as variable or literal STRING.
Description
- URL decoding may be required when parsing downloaded files for additional links and retrieving its addresses.
- As it is possible, although not recommended, that a URL was encoded multiple times, this function can be called multiple times too until all encoded chars are resolved again, i.e. until the the given URL is returned unchanged as is.
- It is safe to call this fucntion with an unencoded URL, it will be simply returned as is.
- Note that this function performs no validation of the given URL, it expects a valid URL to be given and just does the decoding.
Availability
See also