list of words for String.find ..?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • TristanD
    Forum Member
    • Oct 2006
    • 314

    list of words for String.find ..?

    my question is... can a list of words be used with string.find??
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    #2
    Hey, i had the same dilema yesterday

    this should help you out,

    PHP Code:
    string "wordtomatch"
    regfile=TextFile.ReadToTable(_TempFolder.."tabletext.txt");
    for 
    i,k in regfile do
    check String.Compare(string,);
        
        if 
    check == 0 then
        
    --there was a match, this will fire every time there is a match
        
    end
    end 
    Embrace change in your life, you never know, it could all work out for the best

    Comment

    • bule
      Indigo Rose Customer
      • May 2005
      • 1116

      #3
      Nice and smooth...
      Never know what life is gonna throw at you. ZubTech

      Comment

      • TristanD
        Forum Member
        • Oct 2006
        • 314

        #4
        how is the text file setup..?

        how did you devide the words?

        Comment

        • RizlaUK
          Indigo Rose Customer
          • May 2006
          • 5552

          #5
          each word on a new line
          Embrace change in your life, you never know, it could all work out for the best

          Comment

          Working...
          X