# Compare strings

**URL:** <https://forum.kirupa.com/t/compare-strings/205132>\
**Category:** flash\
**Created:** [October 26, 2006, 1:11pm UTC](https://forum.kirupa.com/t/compare-strings/205132 "2006-10-26T13:11:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattiax](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Mattiax](https://forum.kirupa.com/u/Mattiax)\
**Post date:** [October 26, 2006, 1:11pm UTC](https://forum.kirupa.com/t/compare-strings/205132/1 "2006-10-26T13:11:05Z")

</div>

I have this textfile with a lot of words in it.  
One word on each line.

How can I compare a flash string to the lines in the textfile?  
I want to know if the string matches any of the lines in the file.
