Remove items from a list when they are in another list

ZennoFan

Client
Регистрация
31.01.2016
Сообщения
21
Благодарностей
1
Баллы
3
Hello to all the community!
Do you know how can I remove items from a list when those elements are in another list?

So I have a list A with:
- aa.com
- bb.com
- cc.com

I have a list with B:
- ijefijef.com
- bb.com

I wish I could remove my B list all the elements that would already be on my list A. Thus, in the case of my example, my list B would have just as ijefijef.com bb.com is already in the list A.

A huge thank you in advance;-)
 

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 408
Благодарностей
314
Баллы
83
Hey dude, i had done something like that, but, i am not sure that its the right, and speedy way, i have done so, from list B i get first line to variable and delete it, then i delete all things that match my variable, and do so, since when my list B will be empty.
But agains i don`t think its the right way. but it work.
 

ZennoFan

Client
Регистрация
31.01.2016
Сообщения
21
Благодарностей
1
Баллы
3
Hello qzen4i !

Ahah,
This is my temporary solution too ! Thanks to you
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)