In javascript there is a function codePointAt which returns A number representing the code point value of the character at the given index. Is there a UDF or built in function similar to codePointAt function?
var icons = '☃★♲';
console.log(icons.codePointAt(0));
// expected output: "9733"