How do I parse a string into an arraylist in java?
<p>I have a large string that contains fixed value fields, this group of fields can repeat from 0 to 40 times. I would like to parse this list into an arraylist but I am not sure of the best way to do this?</p>

<p>The string data is as follows,</p>

<pre><code> CountryCode = 2 character
 StateProv   = 7 characters
 PostalCode  = 10 characters
 BuildingNum = 5 characters
</code></pre>

<p>There is no delimiter the pattern just repeats</p>

<p>any suggestion?</p>
