title: How to split a Sequence in scala
body: <p>I'm using play framework with Scala and I want to split a <code>Seq[String]</code> into subsequence.</p>
  
  <p>I return <code>Seq[String]</code> from a SQL Query which contains colors and season, it look like that: </p>
  
  <blockquote>
    <p>spring; summer; autumn; winter, red; green; blu</p>
  </blockquote>
  
  <p>The seasons and colours are separated by a comma, and I want to split that sequence to get 2 subsequences, one with the seasons and other with colors.</p>
  
  <p>I've tried with:</p>
  
  <pre><code>val subsequence=sequecne.split(",")
  </code></pre>
  
  <p>But it doesn't work and return that error: value split is not a member of <code>Seq[String]</code></p>
  
  <p>So what can I do?</p>