Re: strpos
| From: | Martin Hjort Eriksen | Date: | Wed, 21 Jan 2004 20:39:04 +0000 |
| Subject: | Re: strpos | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175336@lists.php.net to get a copy of this message | ||
Thank You very much.....
and I think I will go to bed now....
/Martin
Mike Migurski wrote:
When I use the function bellow, and there is no occournce of the control word, strpos shoul return false, but instead i returns 1, which is not the intention. Does anybody here have an idea about what I am doing wring???You're adding the one:$position = strpos($this->fileContent, "\\".$word, $position) + 1;--------------------------------------------------------------------- michal migurski- contact info and pgp key:sf/ca http://mike.teczno.com/contact.html