List compare

loic23601

Новичок
Регистрация
05.06.2016
Сообщения
3
Благодарностей
0
Баллы
1
Hi !

I need your help why i din't find a solution to my problem. Maybe/ Certenly you can help me :D

I have two list and in one list is one element more. I need to find this element.
For exemple :

List 1 List 2

123 456
456 789
741 741
123

I need to extract and put 789 in a variable.

Thank you very mutch for your help !

Loïc
 

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 404
Благодарностей
313
Баллы
83
Hi !

I need your help why i din't find a solution to my problem. Maybe/ Certenly you can help me :D

I have two list and in one list is one element more. I need to find this element.
For exemple :

List 1 List 2

123 456
456 789
741 741
123

I need to extract and put 789 in a variable.

Thank you very mutch for your help !

Loïc
Get from list1 to the variable, and get from list2 to another variable, check them, by logic if, if it {-Variable.1-}=={-Variable.2-} if its true, go back and repeat, if it is not, then you got what you had searching.
 

loic23601

Новичок
Регистрация
05.06.2016
Сообщения
3
Благодарностей
0
Баллы
1
Thank you for this fast answer. Is almost the same idee that i had. My idee was replace in list 2 element from list 1 with nothings. Element that stay is element what i shearch. But i will test your idee.
Thank you again ;-)
 

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 404
Благодарностей
313
Баллы
83

qzen4i

Client
Регистрация
01.05.2014
Сообщения
1 404
Благодарностей
313
Баллы
83
Thank you for this fast answer. Is almost the same idee that i had. My idee was replace in list 2 element from list 1 with nothings. Element that stay is element what i shearch. But i will test your idee.
Thank you again ;-)
Also, you can do so, get from list1 all stuff and add to list2, then delete dublicates, so it will be faster, then get from secondary list the text what was in the file, or save it. Or what you need to do.
 

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