Skip to content
Log in

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?

Was this article helpful?