www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - remove filename from uri in tango.net.uri

how to get only path from URL with tango.net.uri library, i was able to get
something like '/pages/gallery.html' but all i need was the path '/pages/' and
getPath() always return filename along with the path. any suggestion?
Feb 16 2009