advertisement

Article:
  Strings in Cocoa: Part I
Subject:   %s, %s chars in NSString
Date:   2003-04-30 12:16:05
From:   anonymous2
Response to: Thanks!

Does anybody know how to deal with special characters in NSString?
For example I want to save in some .string file string template which I will use later for the formatting.
Something like
ID_FORMAT = "%sSomeString %d %d";


Right now when I read that string instead %s and %d I get something else.
In order to use it as format string I need to get back %s and all others formatting strings.
It's probably problem with string coding but which code to use for this?


Any idea?


Thanks
Kolle
LA, CA