How to make reverse from sprintf ?

Hi
I works with two arduino
One send over serial a CSV string

I want other arduino parsing the string and use values

sprintf(msg1,"$;%i;%i;%i;%i;*",temp1,temp2,press,light);

I would like on other arduino something like that:
And I would like value able to used as variable

Serial.print(temp1);
Serial.print(temp2);
Serial.print(press);
Serial.print(light);

Thanks

Soooo many ways...
Take a look at Serial.parseInt() - Arduino Reference
There us also a parse float.
If you want to see how all of this can work... See my article (also on tyhus forum, just search):
http://www.hackster.io/rayburne/scientific-calculator

Ray

How to make reverse from sprintf ?

That would be sscanf().