note 34846 added to function.str-split

From: Date: Fri, 08 Aug 2003 11:43:13 +0000
Subject: note 34846 added to function.str-split
Groups: php.notes 
Request: Send a blank email to php-notes+get-53639@lists.php.net to get a copy of this message
thanks for the jpm_split function it was a great help, i found that the function was adding an extra separtor on the end, so i used the wordwrap function instead of chunk_split :) function msw_split($string, $split_len=1, $separator=':') { $str = wordwrap($string,$split_len,$separator,$split_len); $str_array = explode($separator,$str); return $str_array; } ---- Manual Page -- http://www.php.net/manual/en/function.str-split.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34846 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34846&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34846&report=yes

« previous php.notes (#53639) next »