--- url: https://developer.youcan.shop/themes/filters/strings/strip.md --- # Strip Removes the whitespace at the start and at the end of a string. ## Example ```liquid [{{ ' Hat ' | strip }}] ``` ::: tip Output ```html [Hat] ``` :::