first Thanks for your reply. i thought my thread was lost in the sea of posts.
so you mean char array;
to read as fsanf(file pointer,"%c",&array[i]); then after storing in this array. put in a loop and check
if(array[i] == " ") // look for space create a loop within and go from 0 to i (in this case). change to another array then modify.
ok thanks i will try and let you know