You are here: Re: breaking up strings « PHP Programming Language « IT news, forums, messages
Re: breaking up strings

Posted by Ian Davies on 07/30/06 11:46

Thanks all thats exactly what I was looking for.
wordwrap was adequate for my needs
Ian

"Ian Davies" <ian.dandav@virgin.net> wrote in message
news:YnSyg.115151$OT.43569@newsfe6-win.ntli.net...
> Hello
> I have a string of varying length, lets call it $mystring.
> I wish to break it up and put it in the following form
>
> echo"<span
>
class='myclass'>".1st_30chars_$mystring_to_nearest_word."<br>".2nd_30chars_$
>
mystring_to_nearest_word."<br>".....etc....last_lot_of_chars_of_$mystring."<
> /span>";
>
> does anyone know how to do this
> Ian
>
>

 

Navigation:

[Reply to this 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

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