about uploading very Urgent

S

shine

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))). Please tell me how we convert this code to vbscript

Any suggestion would be greatly appreciated.
 
E

Evertjan.

=?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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,413
Latest member
ReeceDorri

Latest Threads

Top