bm_host_url (public)

 bm_host_url complete_url

Defined in packages/bookmarks/tcl/bookmarks-procs.tcl

Takes a URL and returns the host portion of it (i.e., http://hostname.com/), which always contains a trailing slash. Returns empty string if complete_url wasn't parseable.

Parameters:
complete_url (required)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: