How do you get individual items from a List Item
<p>i am new to Android development but am trying to get one element of a string variable but can't seem to figure it out.</p>

<pre><code>@Override
  protected void onListItemClick(ListView walksList, View v, int position, long id) 
  {
  String selected = walksList.getItemAtPosition(position).toString();
}
</code></pre>

<p><code>selected</code> is returning me :</p>

<pre><code>{root=WalkOneRoot, caption=WalkOneCaption, title=WalkOneTitle}
</code></pre>

<p>What I am trying to do is isolate 'WalkOneRoot' for each list item into a variable.</p>

<p>Any help would be much appreciated.</p>
