From: ImageAnalyst on
sscanf() is yet another way.