All Questions
1 question
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 ...