pub fn parse_integer(string: &str) -> Result<(i32, usize), String>