How to write a string in eeprom ?

To write all 5 values in the array:

for(int x=0; x<5; x++)
{
  EEPROM.write(index+x,sensval[x]);  
}