# Search and get position of a word in a comma separated string

**URL:** <https://discourse.processing.org/t/search-and-get-position-of-a-word-in-a-comma-separated-string/16671>\
**Category:** Beginners\
**Created:** [December 28, 2019, 4:18am UTC](https://discourse.processing.org/t/search-and-get-position-of-a-word-in-a-comma-separated-string/16671 "2019-12-28T04:18:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 28, 2019, 4:24am UTC](https://discourse.processing.org/t/search-and-get-position-of-a-word-in-a-comma-separated-string/16671/2 "2019-12-28T04:24:37Z")

</div>

double post

> [@Find number in a text and return string from the row below](https://discourse.processing.org/t/find-number-in-a-text-and-return-string-from-the-row-below/16670):
>
> for example I have a text that contains 2 lines 1- “1000”, “55”, “123” 2- “hello”, “bye”, “good” I want a function that does this foo (“55”) this would have to find me the string “55” and return what is in the row below, in this case “bye” How do I do this without using Table?

---

_[View the full topic](https://discourse.processing.org/t/search-and-get-position-of-a-word-in-a-comma-separated-string/16671)._
