Check whether item exists in list

MisterP

Пользователь
Регистрация
08.02.2014
Сообщения
87
Благодарностей
0
Баллы
6
Hey there - me again :D

I just want to know how I can check whether an item already exists in a list.

For instance, my list has the names:
- Jack
- John
- Jeff

And I get one name in a variable, how can I check whether the variable is already in the list?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Merge the list and then use your name as a regex on the variable created by the merge. You will have to have a logic operation after to check for an empty string or not.
 

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