title: Elixir - Split a string so it doesn't return empty strings in the list?
body: <p>I'm splitting a string on a regex. The resulting array contains empty strings where the regex matched. I don't want those. E.g.,</p>
  
  <pre><code>iex(1)&gt; String.split("Hello world. How are you?", ~r/\W/)
  ["Hello", "world", "", "How", "are", "you", ""]
  </code></pre>
  
  <p>How can I split a string so it doesn't return empty strings in the list?</p>