urlpath(
URL
)

The urlpath( function extracts the path from a URL.


Parameters

This function has one parameter:

url – an internet URL.


Description

This function extracts the path from a url.

urlpath("http://www.provue.com/home.html")
    ☞ http://www.provue.com/
urlpath("http://www.griffithobs.org/exhibits/all_space.html")
    ☞ http://www.griffithobs.org/exhibits/
urlpath("http://tidbits.com/article/14079")
    ☞ http://tidbits.com/article/

Note: This function is equivalent to:

arrayrange(thetext,1,arraysize(thetext,"/")-1,"/")+"/"

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.