Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for the below code i got the response below step 1 shows i'm after
- that little confuse at filter the response like below step 2:
- Map<String,String> test = new Map<String,String>();
- Map<String,String> samp= new Map<String,String>();
- Set<String> orderList1 = new Set<String>();
- for(String first : customsettingValues.keySet()){
- String firstValue = samp.get(first);
- for(String second : test.keySet()){
- String secondValue = SelectedValues.get(second);
- if(firstValue.equals(second)){
- listofrecords.add(secondValue);
- System.debug('listofrecords:::---------'+listofrecords);
- }
- }
- }
- step 1 :I got the response like below
- test
- test,test@gmail.com
- test,test@gmail.com,9999999999
- step 2 :Insted of that how to get the response like below
- test
- test@gmail.com
- 99999999999
Add Comment
Please, Sign In to add comment