write a string into ESP8266 eeprom

so please help me with a sample code.

for(byte b=0; b<strlen(string1); b++)
{
   char c = string1[b];
   // Store c in position n+b in EEPROM
}

You get to replace the comment with the appropriate code to store data in EEPROM on the not-really-an-Arduino.