about uploading very Urgent

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shine

    about uploading very Urgent

    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.

  • Evertjan.

    #2
    Re: about uploading very Urgent

    =?Utf-8?B?c2hpbmU=?= wrote on 10 jul 2004 in
    microsoft.publi c.inetserver.as p.general:
    [color=blue]
    > 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))).[/color]

    mid() needs 2 or 3 arguments
    [color=blue]
    > Please tell me how we convert this code
    > to vbscript[/color]

    [supposing you mean ".. to jscript"]

    b="aOneLetterUn icodeString"

    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)

    Comment

    Working...