Results 1 to 3 of 3

Thread: Splitting Data [resolved]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Resolved Splitting Data [resolved]

    I have the following data(these are just three lines of the file that i am reading in) that I need to split up and put into an array. Its date, worker name with id number, followed by hours worked each day for the entire week.

    Code:
    11/03/06          John Doe 4335         40-42-40-32-40
    11/03/06          Jason Doe 2233       40-2-9
    11/03/06          Jane Doe 8831        12-17
    There are about 2-15 spaces between Data and Name and about the same between the last number of the id and the hours worked.

    I need to put date, name & id, and hours into an array. How do I go about dividing up the data so that i can insert it into an array?


    Any help is appreciated.
    Last edited by mrstuff68; Nov 14th, 2006 at 09:59 AM.

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