I'm trying to get my head around writing to a specific field. My text file contains 3 rows of info. The first row contains three fields comma delimited while to second and third rows only contain one field per say. Example:
"Prefix","Incremental #","ignore this field"
"ignore this line"
"ignore this Line"
I've read some info on writing whole lines, etc. using the split function to read fields but how does one write back to a specific field.
The end result that I'm hoping for is to assign to a var the "Prefix" & "Incremental #" after I've incremented by 1 and also write the new incremental value back to the correct field.
Any guidance appreciated.
Iris
"Prefix","Incremental #","ignore this field"
"ignore this line"
"ignore this Line"
I've read some info on writing whole lines, etc. using the split function to read fields but how does one write back to a specific field.
The end result that I'm hoping for is to assign to a var the "Prefix" & "Incremental #" after I've incremented by 1 and also write the new incremental value back to the correct field.
Any guidance appreciated.
Iris