android split string doesn't work correctly
<p>in my android app, i would like to split an array value into another array.</p>

<p>i have an Array with the name ArrayA. 
log of ArrayA[0]:</p>

<blockquote>
  <p>Peter|Mustermann</p>
</blockquote>

<p>now i would like to split Peter and Mustermann, i try this:</p>

<pre><code>String [] ArrayB = ArrayA[0].split("|");
</code></pre>

<p>But the Log of ArrayB[0] and ArrayB[1] will not be:</p>

<blockquote>
  <p>Peter</p>
</blockquote>

<p>And</p>

<blockquote>
  <p>Mustermann</p>
</blockquote>

<p>it will be:</p>

<blockquote>
  <p>P</p>
</blockquote>

<p>And</p>

<blockquote>
  <p>nothing</p>
</blockquote>

<p>Any ideas ? :(</p>