This one time, at band camp, Adi Zebic <adi@xxxxxxxxxxxx> 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." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php