Browse the docs

stripAccents

Removes accents and other marks from letters.

Details #

stripAccents(text) removes the marks on letters, so café becomes cafe and Zürich becomes Zurich. Other characters stay. Also the stripAccents op of Transform text.

Parameters #

Takes 1 argument. {{ stripAccents(text) }}

Examples #

stripAccents("café Zürich")
→ cafe Zurich

Gotchas #

  • Letters like ß and ø have no mark to remove and stay as they are.