For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > May 2006 > strrpos docs are not very clear









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author strrpos docs are not very clear
Derick Rethans

2006-05-23, 7:59 am

Hei,

just was reading the strrpos page, but it's quite hard to understand
what the offset parameter does. SOme good example for that would
definitely help.

regards,
Derick


--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Barry

2006-05-23, 7:59 am

Derick Rethans schrieb:
> Hei,
>
> just was reading the strrpos page, but it's quite hard to understand
> what the offset parameter does. SOme good example for that would
> definitely help.
>
> regards,
> Derick
>
>

Huh O_o

The problem you have is understanding the word "offset" you rather
should look what the meaning of that word is.

The offset in this case is giving the start position of search in the
string.

For me that was very clear what's meant.

Greets
Barry

--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com