rp_url_component_list urlWhat it does:
Returns a list of components in $url, with a trailing empty element (representing the magic "index file") if the component has a trailing slash. For example:Defined in: /web/philip/packages/acs-core/request-processor-procs.tcl
- rp_url_component_list "/" yields [list ""]
- rp_url_component_list "/foo/bar" yields [list "foo" "bar"]
- rp_url_component_list "/foo/bar/" yields [list "foo" "bar" ""]
Source code:
return [lrange [split $url "/"] 1 end]