title: How to convert comma-separated String to List?
body: <p>Is there any built-in method in Java which allows us to convert comma separated String to some container (e.g array, List or Vector)? Or do I need to write custom code for that?</p>
  <pre><code>String commaSeparated = &quot;item1 , item2 , item3&quot;;
  List&lt;String&gt; items = //method that converts above string into list??
  </code></pre>