RE: [PHP] removing chars from string

From: Date: Mon, 27 Jun 2005 15:59:16 +0000
Subject: RE: [PHP] removing chars from string
Groups: php.general 
Request: Send a blank email to php-general+get-217697@lists.php.net to get a copy of this message
[snip] $string = '12345678901'; $jayString = substr($string, 0, 9); $kevinString = substr($string, 0, 8); echo $jayString; // echos 123456789 echo '<br />'; // echos 12345678 echo $kevinString; It turns out to "skin" a mule is to outsmart him. Because mules aren't actually stubborn, they're just smarter than most of us. [/snip] Drat! Foiled again! My mind is absent. If you only knew.... My apologies for getting the math wrong...damn....I need a vacation.

« previous php.general (#217697) next »