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
Version | Status | Notes |
10.0 | No Change | Carried over from Panorama 6.0. |