byliang
06-17-2003, 04:30 PM
Hi,
I wanna get the difference between 2 chars using Javascrip.
say, i hope get 2 using some express like :
'c' - 'a'
my purpose is:
if the char is 'a', i use aArray[0]
if the char is 'b', i user aArray[1]
....
pls help me the syntax
thanks
I wanna get the difference between 2 chars using Javascrip.
say, i hope get 2 using some express like :
'c' - 'a'
my purpose is:
if the char is 'a', i use aArray[0]
if the char is 'b', i user aArray[1]
....
pls help me the syntax
thanks