Re: NSString stringWithFormat: and strings

2009-07-04 Thread Mac First
On Jul 3, 2009, at 8:27 PM, Andy Lee wrote: On Jul 3, 2009, at 11:20 PM, KK wrote: Hello, I have a NSString (from a property list file) that has the %@ formats in it... So.. I do something like this: NSString *stringFromPlistFile; NSString *newString = [NSString stringWithFormat:stringFrom

Re: NSString stringWithFormat: and strings

2009-07-03 Thread Andy Lee
On Jul 3, 2009, at 11:20 PM, KK wrote: Hello, I have a NSString (from a property list file) that has the %@ formats in it... So.. I do something like this: NSString *stringFromPlistFile; NSString *newString = [NSString stringWithFormat:stringFromPlistFile, @"Hello"]; But that doesn't work...

NSString stringWithFormat: and strings

2009-07-03 Thread KK
Hello, I have a NSString (from a property list file) that has the %@ formats in it... So.. I do something like this: NSString *stringFromPlistFile; NSString *newString = [NSString stringWithFormat:stringFromPlistFile, @"Hello"]; But that doesn't work... Keita