urldecode()

Table of Contents

Definition

urldecode() takes a URL string as an argument and returns it as an unescaped or decoded URL string.

Examples

The following example returns the unescaped version of HTTP link.

| makeresults
| eval n=urldecode("http%3A%2F%2Fwww.example.com%2Fdownload%3Fr%3Dheader")
Screenshot of the previous example’s result

Further Reading