Help: Pulling integers out of a string, then making a comparison

Don’t send us hunting the internet for code and/or schematics.

Always show us your ‘current’ complete sketch.
Use CTRL T to format the sketch.
Please use code tags.
Use the </> icon in the posting menu.

[code] Paste sketch here. [/code]

Show us a good schematic of your circuit.
Show us a good image of your wiring.
Posting images:
https://forum.arduino.cc/index.php?topic=519037.0