I'm trying to match up the data from an array the lists the days of the week like this:
MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
The files data reads like this:
Name1,Tuesday Name2,Friday Name3,Sunday Name4,Wednesday Name5,Thursday Name6,Saturday
The output should be:
MONDAY TUESDAY Name1 WEDNESDAY Name4 THURSDAY Name5 FRIDAY Name2 SATURDAY Name6 SUNDAY Name3
I am able to cut the data by the comma into two. I was wondering if it's possible to match the data from the file to the data within the array.