SMS reading with Arduino + SM5100B-D

I already use string to declare pesan instead use char. but after i compile the program.it say that string isn't data type. When I use String to declare pesan, after compile the program, there is an error. it say invalid convertion from int to const char. the error is in this line pesan=mySerial.read();