Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Url.getPath

getPath() -> string

Description

Get the path part of the Url.

$siteUrl = url'http://mysite.com/home'

$siteUrl.getPath()
//= '/home'

See Also