Skip to content

Get path segments

Choose a tag to compare

@sagebind sagebind released this 09 May 21:20
· 18 commits to master since this release
96b69b7

Added

  • Add ability to get all path segments in a URL via getPathSegments(). This is computationally cheaper and easier to use than splitting on / from getPath() if you need to inspect the path more closely.