let a = String::from("hello"); let chars: Vec<_> = a.chars().collect(); for (i,ch) in a.chars().enumerate() { println!("{} {}", i, ch); }
let s: [char; 5] = ['h', 'e', 'l', 'l', 'o'];