Ascii

Determine the ASCII value of a character

Method Signature

Ascii(string=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string containing a single character to determine the ASCII value.

Examples

character and value of Korean currency symbol ( unicode number 8361 )

Run Example

x = char( 8361 );
writeoutput( "character: #x#" );
x = ascii( x );
writeoutput( "<br>Unicode value: #x#" );

Last updated

Was this helpful?