Read value of an array - JAVA/Android
<p>The seems like it would be easy and basic but I just don't know enough about Java/Android and don't know  how to get a specific value from an array. Do you have to iterate though it or can you just call the key/value pair or smth? Any example would be grateful.</p>

<p>thanks
e.g. </p>

<pre><code>String[] x = Pattern.compile(";").split(CookieManager.getInstance().getCookie(URL));
</code></pre>

<p>Now if there is a key of ID how do I get that value which should be the 2nd key? X[1]? Just doesn't work. </p>
