url_decode()
The function converts an encoded URL into a regular URL representation.
For more information about URL encoding and decoding, see Percent-encoding.
Syntax
url_decode(
encoded_url)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
encoded_url | string |
✔️ | The encoded URL to decode. |
Returns
URL (string) in a regular representation.
Example
let url = @'https%3a%2f%2fwww.bing.com%2f';
print original = url, decoded = url_decode(url)
Output
original | decoded |
---|---|
https%3a%2f%2fwww.bing.com%2f | https://www.bing.com/ |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for