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

Url.getPathParts

getPathParts() -> list

Description

Get a List of locations in the path, split by /.

$siteUrl = url'http://mysite.com/forum/thread/i-found-a-bug'

$siteUrl.pathParts()
//= ['forum', 'thread', 'i-found-a-bug']

See Also