I am running a while loop, where I am comparing a
string, but I want to use a wild card towards the end.
Can anyone give me an idea of doing this. Here is what
I have. My threshold value could vary and only thing I
need to check from that line is "#Threshold", but my
variable $lineFromFile contains similar string with a
different value.

while ($lineFromFile[$i] ne "#Threshold = 0,\n"){
      $i++;
    }

Thanks
-Jay

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to