title: Convert String.split() result to Scala list
body: <p>What is the means to convert the following java String[] to a Scala List? </p>
  
  <pre><code>val trimmedList : List[String] = str.split("\\n")).map (_.trim)    // Missing some code here, does not compile
  </code></pre>