Using a string

Rust provides an unusually large functionality for its string. Knowing it can save you quite some headache when dealing with raw user input.