I often find the construct
sscanf(str, "potential_leading_junk%s", str);
handy.
/ Martin Nilsson (saturator)
Previous text:
2004-01-02 00:55: Subject: Re: C#-like properties
Special sscanf seems less necessary nowadays when you can write
[a, b] = array_sscanf(format, s);
(and if this is ever the "official" way of using sscanf, the "array_" prefix should of course be deleted).
/ Niels Möller (igelkottsräddare)