Now you know why, the few times I've ever used "scanf", I read the string into a buffer and used "sscanf"... Guy Harris