Hi, I'm trying to find some PHP equivalents of a few Javascript functions... I just looked all over for them and cant find them, here are the functions:
The fromCharCode() method converts Unicode values to characters.
Note: This method is a static method of the String object. The syntax is always String.fromCharCode() and not string.fromCharCode().
javascript Code:
String.fromCharCode(n1, n2, ..., nX)
The charCodeAt() method returns the Unicode of the character at the specified index in a string.
The index of the first character is 0, and the index of the last character in a string called "txt", is txt.length-1.
All help is appreciated!