title: How to get a value in a string list?
body: <p>I have a list containing the following:</p>
  
  <pre><code>String list[]={"Team 1,Apple,Mango,Kiwi","Team 2,Mango,Kiwi,Pineapple","Team 3,Kiwi,Pineapple,Apple"};
  </code></pre>
  
  <p>my question is, how do you know what each team has? also how do you get the team name?</p>
  
  <p>i would like to have the output:</p>
  
  <pre><code>Team 1,Team 3(Apple,Kiwi)
  Team 1,Team 2(Mango,Kiwi)
  Team 2,Team 3(Pineapple,Kiwi)
  </code></pre>
  
  <p>can someone tell me what can be done or what to do?</p>