Question
Subtracting 2 characters(Flash MX)
Hi guys,
I am trying to subtract 2 characters in action script, My code line looks like this : temp=Number(str.charAt(j)-'A');
trace(temp);
But everytime i run the command i get NaN as the O/P, such a command works fine in C, what to do to get this working in actionscript?
I am trying to subtract 2 characters in action script, My code line looks like this : temp=Number(str.charAt(j)-'A');
trace(temp);
But everytime i run the command i get NaN as the O/P, such a command works fine in C, what to do to get this working in actionscript?