Page 1 of 1

Simple question about comparing text

PostPosted: Tue Oct 22, 2013 3:54 am
by Bluefish
I've noticed that if I would like to compare text, the text has to be exact.

Example:

Wild Boar
Tarantula

If I do compare text for "Wild Boar", the output would not work because there is another line of text after it.

How do I make it so that as long as the text I'm comparing is present, there will be an output?

Re: Simple question about comparing text

PostPosted: Tue Oct 22, 2013 4:15 am
by c4sp3r89
find(str, texttofind) > -1