Scanf
If you know it from C, same functionality but with memory safety.
let mut number: u32 = 0;
let mut name: String = String new;
if scanf!.is_ok
let input = "5,something";
let mut number: u32 = 0;
let mut name: String = String new;
if let Err = sscanf!
Look more examples in the documentation.