I have a string with 30 words in it, I want my app to check and see if the word “magic” exists in that string. How could I do this? Thanks? [import]uid: 104852 topic_id: 21484 reply_id: 321484[/import]
Take a look at the following
string.find(s, pattern [, init [, plain]])
http://lua-users.org/wiki/StringLibraryTutorial
Hope it helps [import]uid: 119459 topic_id: 21484 reply_id: 85032[/import]
Thanks for the reply. Fortunately I found just that shortly after I posted, but thanks any way. Its also works just as intended. [import]uid: 104852 topic_id: 21484 reply_id: 85059[/import]