string to integer VBScript
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: string to integer VBScript

  1. #1
    Join Date
    Feb 2001

    string to integer VBScript

    how to convert from a string to a number (maybe ascii) in VBScript?

    let say, i want to convert letters to the corresponding ascii code, and do some mathematic manipulation to it. how to do it?

    thx in advance


  2. #2
    Join Date
    Apr 2001
    Santa Cruz, CA

    Re: string to integer VBScript

    num= val(a$)

    this converts the string 123456 into a number
    look up the function val.

    hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)