ASCII codes
Monkey Forums/Monkey Programming/ASCII codes
| ||
Hi, Is there a Monkey equivalent to the Blitzmax function "Asc()" that returns an Int containing the ascii code for a string character? I'm trying to convert some old code, but hit a road block with this one and can't find anything looking at the docs or searching this forum. Thanks! |
| ||
See String methods/featuresLocal ss:string="Hallo" Print ss[0] '---> output Asc("H") |
| ||
Hah, that's simple enough! Thanks, Leo. |
| ||
Ive decided to complain less and learn more :) |