DADiSP Worksheet Functions > Function Categories > String Manipulation > CHARSTR

 

CHARSTR

Purpose:

Finds the ASCII code for the specified character.

Syntax:

CHARSTR("char")

"char"

-

A string. A single ASCII character.

Returns:

An integer.

Example:

charstr("X")

 

returns the number 88.

See Also:

CHARSTRS

STRCHAR, STRCHARS