note 12563 modified in function.chunk-split by victor
| From: | victor@php.net | Date: | Fri, 04 Oct 2002 17:50:05 +0000 |
| Subject: | note 12563 modified in function.chunk-split by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-37674@lists.php.net to get a copy of this message | ||
[Editor's note: You can always use wordwrap('FF99FF', 2, ':', 2); to avoid
this]
chunk_split will also add the break _after_ the last occurence. So, attempting to split a color
into base components,
chunk_split('FF99FF', 2, ':');
will return FF:99:FF:
--was--
chunk_split will also add the break _after_ the last occurence. So, attempting to split a color
into base components,
chunk_split('FF99FF', 2, ':');
will return FF:99:FF:
http://www.php.net/manual/en/function.chunk-split.php