Check whether item exists in list

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

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?
 
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.
 

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