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: ' ' %}