String Parsing - What am I messing up?

I guess as I could see the string in the serial monitor I figured I had...

Two being too many has confused me though. Surely I need one string?

How would you go about this problem. I want an input box on the web interface, you add a number as a percentage and I can then make that the brightness of the LED in question. Its got messy and hacky thus far :frowning: