Is there a scanf() or sscanf() equivalent?
Not as such.
For simple input parsing, the