note 9598 added to chunk_split
| From: | hest at online dot no | Date: | Tue, 14 Nov 2000 16:27:13 +0000 |
| Subject: | note 9598 added to chunk_split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7673@lists.php.net to get a copy of this message | ||
A phonenumber split will look like this:
<?
$phone_number = "22209181";
$phone_number = chunk_split($phone_number, 2);
echo $phone_number; // prints "22 20 91 81"
?>
http://www.php.net/manual/function.chunk-split.php