Reading Mulit-digit intergers in the Serial Monitor and Seperating.


I am sending values to the arduino over the Serial monitor like this e.g.: 125,333

How could i read these and seperate them into different variables?

I have already tried many methods and cant make it work properly.

Thank you!

The demos here and here illustrate how.