title: How to split a string into two lists of numbers in SASS?
body: <p>I have a SASS/SCSS string which contain two lists (separated by comma), and each list contain numbers (separated by space). How can i split string into two lists of numbers?</p>
  
  <p>SCSS:</p>
  
  <pre><code>$values: "10px 20px 30px, 20px 30px 40px";
  
  $begin: /* should be */ "10px", "20px", "30px";
  $end: /* should be */ "20px", "30px", "40px";
  
  // optionally it can be a map:
  $begin: (10px, 20px, 30px);
  $end: (20px, 30px, 40px);
  </code></pre>
  
  <p>Code on Sass Meister:
  <a href="http://sassmeister.com/gist/4d9c1bd741177636ae1b" rel="noreferrer">http://sassmeister.com/gist/4d9c1bd741177636ae1b</a></p>