Remove items from a list when they are in another list

  • Автор темы Автор темы ZennoFan
  • Дата начала Дата начала

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;-)
 
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.
 
Hello qzen4i !

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

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