if you want a sprintf that accepts any number of format specifiers, supports %*f, supports %.*f, supports %*.*f, and nearly any other that you think of, I finally wrote an external that supports it all.
[gf/sprintf]
in GridFlow's SVN. (or future releases starting with 9.11)
The things it doesn't do, are :
%ld (makes no sense in pd. use %d instead.) %lld %hd %hhd %lx ... (same thing) %p %n %m (why ?) %1$d %2$*1$d etc (surely one day)
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801