JSREF

JavaScript String charCodeAt()

Get the Unicode of the first character in a string: