how i put string value from BH1750 -light sensor to if else condition?

"It takes a pin number (int)." byte. There are no pins above 255.