What to do with initWithFormat + an array
What to do with initWithFormat + an array
- Subject: What to do with initWithFormat + an array
- From: Thomas Lachand-Robert <email@hidden>
- Date: Sun, 17 Oct 2004 15:49:23 +0200
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@hidden
<< Et le chemin est long du projet à la chose. >> Molière, Tartuffe.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden