- Регистрация
- 09.04.2019
- Сообщения
- 56
- Благодарностей
- 1
- Баллы
- 8
hi guys
I have a list like this below:
book is good
pencil is made by wood
door is open
window is closed
any way to find the Index of one of them with searching a word like Contains "book"?
I need to search for "book"
answer must be: "0" (Which is its Line number in the list)
i already got a hand with this method in C#:
but this code needs to search with the whole sentence to give back the index number.
thank you
I have a list like this below:
book is good
pencil is made by wood
door is open
window is closed
any way to find the Index of one of them with searching a word like Contains "book"?
I need to search for "book"
answer must be: "0" (Which is its Line number in the list)
i already got a hand with this method in C#:
C#:
return project.Lists["yourListName"].IndexOf("book");
thank you