title: How to remove whitespace in SASS string?
body: <p>Is there a string function that remove whitespaces in a string in SASS?</p>
  
  <p>For an instance, I'd like to use a variable (string with spaces) to specify a resource image file (name without spaces).</p>
  
  <p>Something like:</p>
  
  <pre><code>$str-var: "The White Lion";
  
  @mixin bg-img($name) {
    background-image: url("#{$name}.jpg");
  }
  
  .image-cover {
    @include bg-img(str-remove-whitespace($str-var));
  }
  </code></pre>
  
  <p>Expected result:</p>
  
  <pre><code>.image-cover {
    background-image: url("TheWhiteLion.jpg");
  }
  </code></pre>