rust substring from char code example Example: rustlang get substring let a = input_string.chars().nth(n).unwrap();