How do i access a specific index of an element using ArrayList?
<p>Say for example, I want to get the index of "w" in "howdy", or the "g", in "wasgood", how would i do that? The Arraylist .indexOf method only seems to return the entire element stored in the Arraylist</p>

<pre><code>ArrayList &lt;String&gt; list = new ArrayList&lt;String&gt;();

list.add("hi");
list.add("howdy");
list.add("greetings");
list.add("wasgood");
list.add("squareup");
list.add("plurals");
</code></pre>