January 16th, 2012, 02:37 PM
Join Date: Aug 2010
Time spent in forums: 20 h 12 m 16 sec
Reputation Power: 4
Can someone tell me if there is already a funciton for this?
Hey there people,
I have a file in this format:-
FIRST_VALUE, This is a value
SECOND_VALUE, This is another value
THIRD_VALUE, This is also a value
I use a function to read this data into an array which ends up like this:-
first_array(0) = "FIRST_VALUE, This is a value"
first_array(1) = "SECOND_VALUE, This is another value"
How the heck do I take that array an split it down the middle so that I have something like this:-
first_array(0) = "FIRST_VALUE"
second_array(0) = "This is a value"