str_to_asc (STRING* string)

Returns a numeric ASCII representation (see list in str_for_asc) of the first character of the string.

Parameters:

string - any string.

Returns:

ASCII value of the first character in the string .

Speed:

Fast

Example:

temp = str_to_asc("A"); // now temp == 65

See also:

str_to_num, str_for_num, str_for_asc