title: splitAt '-' in scala
body: <p>I need to return two lists, the list of Strings up to and including the first line containing a ’-’ and then the remaining elements. </p>
  
  <p>so i've been trying lst.splitAt('-') but it keeps doing</p>
  
  <pre><code> scala&gt; val lst = List(" Hi this is - a test")
   lst: List[String] = List(" Hi this is - a test")
  
   scala&gt; lst.splitAt('-')
   res8: (List[String], List[String]) = (List(" Hi this is - a test"),List())
  </code></pre>
  
  <p>how can i fix this so that i will get (List(" Hi this is -),List( a test")) ?</p>