How can I convert a whitespace separated string to integers in rust
I’m trying to convert a string example “12 34 56” into a vector of integers using Rust. I tried using .chunks() and a few other things the code I used works as expected for “123456” but both strings have the same output
[1, 2, 3, 4, 4, 5] I’m trying to get [12, 34, 56]