note 9159 deleted from function.substr by philip

From: Date: Fri, 01 Feb 2002 04:58:19 +0000
Subject: note 9159 deleted from function.substr by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26114@lists.php.net to get a copy of this message
Here (after 30 minutes of search PHP Manuals) is the code that i use to separate a Brazilian CEP codes into 2 strings splited by a - . <? $cep = '01010000'; $cepini = substr ("$cep", 0, 5); $cepend = substr ("$cep", 5); echo"$cepini - $cepend"; ?>

« previous php.notes (#26114) next »