substr == SOLVED (was "Re: [PHP] substrings")

From: Date: Sun, 25 Apr 2004 20:35:33 +0000
Subject: substr == SOLVED (was "Re: [PHP] substrings")
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-184584@lists.php.net to get a copy of this message
Richard, et al -- ..and then Richard Harb said... % % $color = '#aabbcc'; % % if (strlen($color) == 7) { % echo ' r: ' . substr($color, 1, 2); [snip] D'oh! I knew it should be substr but I could never find it! I was up to page 1098 or such and muddling through all of the PCRE doc when I gave up and asked for help :-) Thanks & HAND :-D -- David T-G davidtg@justpickone.org http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#184584) next »