Answers for "Strip / remove tab characters"

0

Strip / remove tab characters

1) Simple remove filter:

{% assign foo = 'foo   bar' | remove:  "   " %}

2) Using replace:

{% assign foo = 'foo   bar' | replace:  "  ", '' %}

3) Using split + join:

{% assign foo = 'foo   bar' | split:  "    " | join: ' ' %}
Posted by: Guest on May-06-2021

Code answers related to "Strip / remove tab characters"

Browse Popular Code Answers by Language