strAsc

Returns the ASCII code of the first character in a string. Takes str (string to examine). Returns the ASCII code (0-255) of the first character in the string.

String

Parameters & Returns

Parameters

str String

Returns

Int

Quick Summary

Returns the ASCII code of the first character in a string. Takes str (string to examine). Returns the ASCII code (0-255) of the first character in the string.

Technical Exegesis...

Returns the ASCII code (0-255) of the first character in the string. Returns 0 if the string is empty or null.

Only examines the first character - remaining characters are ignored. Useful for character analysis, parsing, or converting characters to numeric codes.

Example

Example.bam
; No example implemented yet