Im so close but, help! ethernet control

Thanks to all

This is what i came up with

if (readString.substring(6,12)== "analog") // checks to make sure analog field submitted
{
newString =(readString.substring(13,17)); // gets number from string
analog = newString.toInt(); //convert newString into an int analog
}

works great :slight_smile: