Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Strings in Cocoa: Part I
Subject:   Thanks!
Date:   2001-07-04 03:41:24
From:   kool
That was usefull to me! Thanks!
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • %s, %s chars in NSString
    2003-04-30 12:16:05  anonymous2 [View]

    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