Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
359 views

Better way of searching for values in apex list

I have a list of unique strings say 'one' to 'ten' as below: List<String> values = {'one', 'two', 'three','four','five','six','seven','eight','nine','ten'}; I have a requirement to check if the ...
Suhasini's user avatar
  • 307