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<Integer> aList = new List<Integer>(); // List 1 List<Integer> bList = new List<Integer>(); // List 2 for(Integer i : bList){ Integer indexOfI = aList.indexOf(i); if(indexOfI > -1) aList.remove(indexOfI); }
Please try this below Code:
Change aList and bList with your list values.
Please mark this as best answer, If you find it positive.
Thanks,
Jolly Birdi