Letter incrementing
| From: | Brent Clark | Date: | Thu, 18 Mar 2004 13:16:34 +0000 |
| Subject: | Letter incrementing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180811@lists.php.net to get a copy of this message | ||
Hi all
Does anyone know how, or even if it is possible to increment a letter from the alphabet.
I know that if you use
e.g
$o = 1;
$o++;
will result in $o == 2,.
But I need to do a $variable = "B";
and then do a $variable++ that will result in
$variable == "C"
Kind Regards
Brent Clark