Easypt

toAsciiCode

..Root.String.toAsciiCode

Converts first character of string to integer (following ASCII code).

Child of:

String

Signatures:

NativeCallable, Callable

Example:

auto str.=("abc");
log(str[0].get().toAsciiCode());

Expected output:

97