No better way than parsing the string yourself.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
Quote:
> Hi all,
> I'd like to know if there is a way to check if a string
> can be used as a format string in printf function...
> ie: i get the string "%f" and i'd like to know the %f is a
> valid format string...
> could someone help ???
> thanx in advance
> Sandra