You need to sign in to do that
Don't have an account?
Contains problem
Dear support,
I am using contains method to compare the listnames when the listname having same name (i.e 1234 ,123456) suppose if i selected the second one the first is coming as checked
below is my sample code
for(Integer i=0; i<results.size();i++) {
for (Integer j = 0; j < listChecked.size(); j++) {
if(listChecked[j].glName.contains(results[i].lName)) {
results[i].checked = true;
}
}
}
Let me know if any one can help me
Regards,
kranthi nagisetty