Control Led with Gsm shield

i need to set a string variable ,for example string smstext ; and a part of code like this :

No. Your instruction is one character.

if(c == 'H')
   // turn the LED on
else if(c == 'L')
   // turn the LED off