I have a string value 'func1/50/70'
I need to parse it so that I have 'func1' as a string and both 50 and 70 as int values.
Can any C++, arduino experts help?
I have a string value 'func1/50/70'
I need to parse it so that I have 'func1' as a string and both 50 and 70 as int values.
Can any C++, arduino experts help?
I'm not sure what Arduino C allows. In C++ you can try std::find, that can return a pointer to something to be found. In this case you'd try to find the "/"