Apr 28, 2020 02:31 PM
(This post was last modified: Apr 28, 2020 02:33 PM by draxyee.)
If List1[0] = "Test|543543"
And List2[5] = "Test"
Then don't include it in FinalList.
Current code:
However, it only adds the delimited value to the list (Test), not the full value which I want (ex: Test|543543)
Can anyone help?
And List2[5] = "Test"
Then don't include it in FinalList.
Current code:
PHP Code
<?php
List1 = List1.Select(s => s.Split('|')[0]).Except(List2).ToList();
However, it only adds the delimited value to the list (Test), not the full value which I want (ex: Test|543543)
Can anyone help?


![[Image: lrdgLIg.jpg]](https://i.imgur.com/lrdgLIg.jpg)

