=?Utf-8?B?c2hpbmU=?= wrote on 10 jul 2004 in
microsoft.public.inetserver.asp.general:
Is there any functions like chrB in vbscript that returns the byte
associated with the ASCII code in jscript. If not how we return a
byte. The code in vbscript is
ChrB(Asc(Mid(a charcter))).
mid() needs 2 or 3 arguments
Please tell me how we convert this code
to vbscript
[supposing you mean ".. to jscript"]
b="aOneLetterUnicodeString"
b=b.charCodeAt(0)
bHigh = Math.floor(b / 256)
bLow = b % 256
alert(bHigh)
alert(bLow)
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)