title: Is there a way in SASS to do if string contains or ends with?
body: <p>I need an if statement in sass like the so:</p>
  
  <pre><code>@each $name, $char in $font-icons {
      @if ($name ends with "-outline") {
          //do something
      }
  }
  </code></pre>
  
  <p>Is there a way to do this?</p>