Interested in sponsoring this lovely little spot?

segment_x

Given "x", any segment number, will return the value of that particular URL segment if it's present.

Example URL: /put/that/cookie/down

{{ segment_3 }}
cookie
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →