Hey spenggong,
Peach Pellen has an excellent Boggle tutorial (with video) at her techority site:
http://corona.techority.com/2012/03/10/boggle-in-under-350-lines-in-coronasdk-full-video-tutorial/
It loads up an entire dictionary from a text file, to be able to compare entered words with valid words.
I tried the string.find function , using the lua_bot in the Corona IRC chatroom: (irc.freenode.net #corona)
Here I am looking for: [SK]Ray
print (string.find("kjsdhfkjsdhkjsdhfkjsdhfkjsdhf[SK]Ray: lua\> print er", "[SK]Ray",1, true))
I get back: 30, 36
Which is the beginning and end index of the search term. If it cannot find the search term, you get back nil. [import]uid: 135765 topic_id: 33327 reply_id: 132339[/import]