Skip navigation.
 
mlWhat to do with initWithFormat + an array
FROM : Thomas Lachand-Robert
DATE : Sun Oct 17 15:49:23 2004

Hi list,

I need to build a string using something similar to initWithFormat,
except that the parameters for the format list are given in an array
(and I don't known how many of them there is). Is there a simple way to
do that, besides interating myself the string format looking for %@?

Transforming the array to a va_args would be enough, since there is a
method
initWithFormat:(NSString *)format arguments:(va_list)argList
but I don't known how to do that, too.

Thanks,

Thomas Lachand-Robert
********************** <email_removed>
<< Et le chemin est long du projet à la chose. >> Molière, Tartuffe.

Related mailsAuthorDate
No related mails found.