note 29859 added to function.wordwrap

From: Date: Wed, 26 Feb 2003 23:23:04 +0000
Subject: note 29859 added to function.wordwrap
Groups: php.notes 
Request: Send a blank email to php-notes+get-44582@lists.php.net to get a copy of this message
<? //string wordwrap ( string str [, int width [, string break [, int cut]]]) $txt = "kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk"; $secTxt = wordwrap( $txt, 20); echo "$secTxt"; // output : kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk ?> <? //string wordwrap ( string str [, int width [, string break [, int cut]]]) $txt = "kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk"; $secTxt = wordwrap( $txt, 20, "\n", 1); echo "$secTxt"; //output kkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkk kkkkkk ?> -- http://www.php.net/manual/en/function.wordwrap.php http://master.php.net/manage/user-notes.php?action=edit+29859 http://master.php.net/manage/user-notes.php?action=delete+29859 http://master.php.net/manage/user-notes.php?action=reject+29859

« previous php.notes (#44582) next »