Scanf

If you now it from C, nothing to tell you about. Same functionality but with memory safety.

rust let index: u32; let name: String; scanf!("{},{}", number, name); // Parse input line like "5,something"

Look more examples in the documentation.