|
Posted by Geoff Berrow on 12/31/05 17:18
Message-ID: <ZFwtf.636$i%4.91@trndny08> from Lüpher Cypher contained the
following:
>Actually:
>
>$str = "aaa bbb ccc";
>$str = substr($str,0,9);
>echo strrpos($str," ");
ah yes, missed the double space...
>
>
>Outputs 8 :) There is a mistake, though:
I knew something was wrong. :-)
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|