string.toCharCodes & String.fromCharCodes [JS 1.6]


/ Published in: JavaScript
Save to your folder(s)

*Requires JavaScript 1.6 or higher*

Syntax:

`Array string.toCharCodes()` returns an array containing every one of `string`'s character codes, in order.

`String String.fromCharCodes(charCodes)` returns a string created from every character code in the array, `charCodes`.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.