The parent-url() Function

This function evaluates the parent URL of an URL received as string.

parent-url ( URL )
URL
The URL as string.