File.stringToByte() (Method)

Converts the first character of the string argument into a byte value.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESmyFile.stringToByte(aString)
Argument list:aStringA string containing at least one character

This converts a single character to a numeric value. It is equivalent to the character to number conversions supported by the String object.

See also:File.byteToString(), String.charAt(), String.charCodeAt()