Hi all,
Quick one I hope.
I need to convert the first letter of a string to its equivalent ASCII decimal value.
Here is an example of my code:
$myword = "word";
$firstchar = $myword{0};
Now would I get the ASCII Decimal value of 'W' (which is 87 in this example) using PHP?
Thanks in advance.