Use a fallback for invalid input
str::parse and Result::unwrap_or
int.tryParse
Int and except
std.fmt.parseInt
tryparse
Int.init
Int32.TryParse
RegExp.test and Number