string operation

how to get a string input and compare it .
say for example: if i get a string input"LED ON "
and i want to compare it with a list of string say "LED ON ",LED OFF,FAN ON,FAN OFF.....

give me the commands and some sample programs .please.

Parents Reply Children
No data
More questions in this forum