Posted by Kevin Waterson on 09/05/05 15:18
This one time, at band camp, Adi Zebic <adi@beeznest.net> wrote:
> is there any magic function who can give me from:
>
> $string = " abcdefghijklmnopqrstuwvxyz";
>
> somthing like this:
>
> abcd
> efgh
> ijkl
> mnop
> qrst
> uwvx
> yz
$newstring=chunk_split("$string", 4, '<br />');
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
[Back to original message]
|