Update StringToInteger my C char array knowledge is really rusty