CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2000
    Location
    UK
    Posts
    11

    quick question on strings!

    Hello,
    I'm new to VB, can anyone tell me if there is an equivalent to the
    sscanf()
    C function???

    I need to process a string that is in a specific format. It is comma separated and I need to extract the values from between the commas and store them in variables.

    Thanks,
    D.




  2. #2
    Join Date
    Feb 2000
    Location
    Ireland
    Posts
    808

    Re: quick question on strings!

    You can use the split function in VB6 to store the elements in an array


  3. #3
    Join Date
    Jul 2000
    Posts
    124

    Re: quick question on strings!

    You can use the instr() function to find the commas and then the mid() function to get the stuff in between the commas and put them in a variable.


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured