how to save string in eeprom ?
string ex: "hello world" and each time i get different string i want to save it

Code:
SERIN2 PORTB.0,16780,[WAIT(J),STR ArrayVar\n]
B0 =  B0 [ ARRAYVAR + 1]  ?????
WRITE B0,ARRAYVAR
I NEED HELP I KNOW ITS WRONG THIS CODE THANKS
SORRY FOR MY EMGLISH