Control Led with Gsm shield

Why don't you try a few string functions on smstext to see exactly what you are comparing?

I would start by checking it's length. If it's longer than one character you need to figure out what the other characters are...