I have a text database with the following format:
Code:
unique_value1,string1,string2,string3, etc...
unique_value2,string1,string2,string3, etc... 
unique_value3,string1,string2,string3, etc...
I would like to replace the second string with new information.. but I can't figure out how to do this. I know I should be using fseek to find the location of the string and then fput to insert it.. but I can't seem to figure out how they all work together.

Can anyone help?