

Me, every time I try searching a Rust question.
That’s easy. Just do:
fn is_second_num_positive() -> bool {
let input = "123,-45";
let is_positive =
input.split(',')
.collect::<Vec<&str>>()
.last()
.unwrap()
.parse::<i32>()
.unwrap()
.is_positive();
is_positive
}
Imagine what it would have been like to be alive 50 years ago.