function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
list<String> lst1 = new list<String>{'1','2','3'}; list<String> lst2 = new list<String>{'1','2'}; for(integer i = 0; i<lst1.size(); i++) { if(lst2.contains(string.valueof(lst1[i]))) { System.debug('Heeeeeeee'+i); } }
list<String> s1 = {1,2,3,4,5,6} list<String> s2 = {2,3,6,1} String[] st = s1.split(' , '); for(integer i = 0; i<st1.size(); i++) { if(S2.contains(string.valueof(st[i]))) { } }
Try Below Code Please Mark It As Best Answer If It HelpsThank You!
If you find your Solution then mark this as the best answer.
Thank you!
Regards
Suraj Tripathi