Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
var b = a.map(int.parse).toList();
let b = a.map(Number)
b = a.stream()
.map(Integer::parseInt)
.toList();
@b = map { $_ += 0 } @a
b = [int(elem) for elem in a]
b = list(map(int, a))
b = a.map(&:to_i)
let b: Vec<i32> = a.iter().flat_map(|s| s.parse().ok()).collect();
let b: Vec<i64> = a.iter().map(|x| x.parse::<i64>().unwrap()).collect();
For i = LBound(a) To UBound(a)
b(i) = CInt(a(i))
Next