{"title":"strip - Liquid Filter Reference","slug":"strip-filter-reference","url":"https://support.storeconnect.com/articles/strip-filter-reference","url_markdown":"https://support.storeconnect.com/articles/strip-filter-reference.md","subtitle":null,"summary":"Removes all leading and trailing whitespace (tabs, spaces, newlines) from both sides of a string. Spaces between words are preserved.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, strip, text, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nRemoves all whitespace (tabs, spaces, and newlines) from both the left and right sides of a string. It does not affect spaces between words.\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | string |\n| **Category** | text |\n\n## Examples\n\n\n```liquid\n\n{{ \"          Who watches the watchers?          \" | strip }}\n```\n\n\n**Output:** `Who watches the watchers?`"}