XelaIrodavlas
Registered User.
- Local time
- Today, 01:21
- Joined
- Oct 26, 2012
- Messages
- 175
Hi all,
I have an API Get Request which returns a CSV string, what is the best way to interrogate that string? I'm looking to extract specific columns, or convert it into an access table? Sample string below.
From googling I found the TransferText method, however this only appears to work for saved csv files, not a string. Unless I've missed something. Can anyone point me in the right direction?
Many thanks
Sample String
I have an API Get Request which returns a CSV string, what is the best way to interrogate that string? I'm looking to extract specific columns, or convert it into an access table? Sample string below.
From googling I found the TransferText method, however this only appears to work for saved csv files, not a string. Unless I've missed something. Can anyone point me in the right direction?
Many thanks
Sample String
Code:
"Employee ID","Badge","Username","First Name","Surname","Employee Status","In Payroll","Locked","Primary E-mail","Work Phone","Mobile Phone","Home Phone","Security Profile","Holiday Profile","Timesheet Profile","Pay Period Profile","Labour Level(1)"
"000602","602","Toby.Bridges","Tony","Bridges","Active","Yes","No","TonyBridges@mymail.com","01234 567891","","09876 543211","Company Administrator **FULL ACCESS**","England & Wales","Timesheet: MONTHLY Employees (Days)","Monthly","Finance Team"
"000769","769","Clark.Kenton","Clark","Kenton","Active","Yes","No","ClarkKenton@mymail.com","","01234 567892","09876 543212","Company Administrator **FULL ACCESS**","England & Wales","Timesheet: MONTHLY Employees (Days)","Monthly","Commercial & Procurement Team"
"000814","814","Steve.Harris","Steve","Harris","Active","Yes","No","SteveHarris@mymail.com","01234 567893","09876 543213","01204 507090","Company Administrator **FULL ACCESS**","England & Wales","Timesheet: MONTHLY Employees (Days)","Monthly","Human Resources"