parameterize - Liquid Filter Reference
On this page
Description
Converts a string to parameter format.
| Property | Value |
|---|---|
| Return Type | string |
| Category | text |
Examples
```liquid
{{ “On Sale” | parameterize }} ```
Output: on-sale
```liquid
{{ “The rain in Spain falls mainly on the plain” | parameterize }} ```
Output: the-rain-in-spain-falls-mainly-on-the-plain
```liquid
{{ “John O’Connor” | parameterize }} ```
Output: john-o-connor
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.