How to write a string in eeprom ?

write(index+x,sensval[5]);

Why write the same value over again?
Is this a redundancy thing?
How do you decide which of the values you read back is the right one?