Gommeh
Veteran Member
dammit ryan and rylie
Posts: 2,744
| Likes: 778
|
Post by Gommeh on Apr 11, 2019 18:32:18 GMT
At each line (this file was given to me by my professor so I can't change it), I want the .next() property to read only until the next semicolon and then once called again, read until the semicolon after that, and so on until the end of the line. I don't want it to read until the next space like it normally does. How can I do this?
1 // Type of employee; name; ID 2 Hourly;Adam White;200156;12.75;40 // then pay rate; hours 3 Salaried;Allan Westley;435128;38500.00 // then salary 4 Supervisor;Annette Turner;149200;75000.00;5000;435128 614438 435116 548394 // then salary; bonus; employees who report to her 5 Hourly;Chris Simmons;614438;18.00;40 6 Salaried;Darren Schubert;281987;46000.00
|
|
StevenNL2000
Forum Admin
Posts: 6,415
| Likes: 6,936
IGN: StevenNL2000
Timezone: UTC+01:00
Member is Staff. Need immediate assistance? Send a PM
|
Post by StevenNL2000 on Apr 11, 2019 22:14:04 GMT
|
|