You need to sign in to do that
Don't have an account?
Arpit Gupta 40
How to match two list of string and get miss match value ?
Hi,
I have two list of String ids, i need to compare two list of strings and put unique string in a Third List. How to do it.
suppose
List<String> ids1 = new List<String>('003aaa','003bbb','003ccc');
List<String> ids2 = new List<String>('003aaa','003bbb');
List<String> ids3 = new List<String>();
I want unique value in the third list :
ids3 = '003ccc';
I have two list of String ids, i need to compare two list of strings and put unique string in a Third List. How to do it.
suppose
List<String> ids1 = new List<String>('003aaa','003bbb','003ccc');
List<String> ids2 = new List<String>('003aaa','003bbb');
List<String> ids3 = new List<String>();
I want unique value in the third list :
ids3 = '003ccc';
You can get unique values using below code:
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com
All Answers
You can you this code right away to resolve your problem.
If you found it useful please appreciate my efforts and mark it as the best answer
Regards,
Soyab
You can get unique values using below code:
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com
I went through the problem please refer bellow code.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com