Efficient way to process record separated by pipe?
<p>I've a string which contains data concatenated by pipe (|)</p>

<p>Example: 5|aa@gmail.com|477|en|87477</p>

<p>The string has ~15 fields concatenated by pipe. </p>

<p>It could be possible that some field may have empty data:
Example: 5|aa@gmail.com||en|87477</p>

<p>How can I efficiently get all the individual fields in Java 1.6?</p>

<p>Thanks!</p>
