Take a look at the ord() and chr() functions.  They'll do what you want.

On Tue, 12 Feb 2002, phantom wrote:

> How do I get the ASCII value of a character.... increment it by one...
> and convert back to a character.
>
> For example:
>
> I want to grab a char such as "C" and increment it to "D" ???
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to