• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
stringWithFormat: problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stringWithFormat: problem


  • Subject: stringWithFormat: problem
  • From: Thierry Passeron <email@hidden>
  • Date: Sat, 4 Feb 2006 10:37:18 +0100

Hello there,

here is the problem:
I have 2 objects, one is a formated string like @"This is %@ formated
string of %@".
The other is an array of string { "a", "mine" }.
Both of them are changing very often.

I would like to be abble to get the string from the formated string
and the array like I would do with [NSString stringWithFormat:
theFormat, [theArray objectAtIndex:0], [theArray objectAtIndex:1] ,...
];
How is it possible to do that when you don't know what will be the
number of string in the array ?

Best regards,
Thierry
 _______________________________________________
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

  • Follow-Ups:
    • Re: stringWithFormat: problem
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Re: problem with [NSData bytes] on Intel
  • Next by Date: Re: problem with [NSData bytes] on Intel
  • Previous by thread: Re: problem with [NSData bytes] on Intel
  • Next by thread: Re: stringWithFormat: problem
  • Index(es):
    • Date
    • Thread