Return ASCII value as uint

Johan Granberg lijat.meREM at OVEgmail.com
Tue May 8 09:15:20 PDT 2007


okibi wrote:

> Hey,
> 
> I was wondering if D has a simple function to return the ASCII value of a
> character as a uint, much like ord() does in php.
> 
> Thanks!

You could just assign the charachter to a uint variabel, that should work.


More information about the Digitalmars-d-learn mailing list