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

Thread: string to integer VBScript

  1. #1
    Join Date
    Feb 2001
    Posts
    37

    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

    chris


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

    Re: string to integer VBScript

    a$="123456"
    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center