toIntOrZero

Converts string to integer safely otherwise returns zero