Reply to Re: PHP Tokenize a String by its length

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация