Let us assume, the list of String has three items namely "one","two","three".You need take the text "one" and do some comparison.
If this is ur requirment.Look at the explanation else skip the below statements and explain what u want?
Initialise a counter as 0.
Within for loop(for each sListItem in sList), increment the counter(iCount = iCount + 1) and if the counter value is 1 if iCount == 1, it points to Item1(i.e "One").Then get the item text by STRING sQuery = sListItem. Now sQuery should be "one".