Posted by Oli Filth on 11/23/05 17:32
Harry wrote:
> > strpos()
>
> I've been flicking through the documentation ad it seems that strpos()
> only tells you if a string contains an only CHARACTER. Am I right?? :S
>
>From the manual:
"strpos -- Find position of first occurrence of a string"
strpos("hendogpenguin", "dog")
will return 3.
strpos("hendogpenguin", "minotaur")
will return FALSE.
--
Oli
[Back to original message]
|