Jacek,

I don't quite follow your suggestion
you don't need strncat() --- you can pass it directly to sscanf().
Wouldn't that pas the entire array to sscanf? I only want certain bits of it.

B1.