how to extract data from special formated string
<p>I have string in this format</p>

<pre><code>&lt; value1 &gt;,&lt; value2 &gt;, &lt;1,2,3,4,5&gt;,&lt; some value &gt;
</code></pre>

<p>the output must be an array of Strings:</p>

<pre><code>array[0] = "value1";
array[1] = "value2";
array[2] = "1,2,3,4,5";
array[3] = "some value";
</code></pre>

<p>Any suggestion what is the best way to do that?</p>
