Import array from space delimited file...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • csocean
    New Member
    • Feb 2007
    • 2

    Import array from space delimited file...

    Hey guys,

    I can't figure this out... it probably isn't as hard as I'm making it...!

    I've got a space-delimited .txt file, with three columns.

    All I want to do is import the data as a three columned array, with as many rows as the text file... could you please point me in the right direction?! I'm using VB 2005...

    Thanks!
  • csocean
    New Member
    • Feb 2007
    • 2

    #2
    Originally posted by csocean
    Hey guys,

    I can't figure this out... it probably isn't as hard as I'm making it...!

    I've got a space-delimited .txt file, with three columns.

    All I want to do is import the data as a three columned array, with as many rows as the text file... could you please point me in the right direction?! I'm using VB 2005...

    Thanks!

    don't worry... gottit! :)

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by csocean
      don't worry... gottit! :)
      Excellent! :D

      Although most of us are here because we like to help, it's also good to see people successfully tackle their own problems.

      I hope you'll stick around and see whether you can help with any other questions here.

      Comment

      • 963852741159753
        New Member
        • Feb 2007
        • 8

        #4
        i am doin the same sort of thing but i have 5 colums and am using * as the delimter any hints would be apreciated

        Comment

        • vijaydiwakar
          Contributor
          • Feb 2007
          • 579

          #5
          If both of u r using vb2005 then why don't u use xml insted of txt files?

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by 963852741159753
            i am doin the same sort of thing but i have 5 colums and am using * as the delimter any hints would be apreciated
            vijaydiwakar may well be right.

            But also, I'd suggest you check out the Split() function.

            Comment

            Working...