additional routines to parse strings into 32-bit and 64-bit integers