The code for percent sign in NSString
format is %%
. This is also true for NSLog()
and printf()
formats.
More Related Contents:
- How to convert an NSString to id or UIView objective-c iphone [closed]
- Shortcuts in Objective-C to concatenate NSStrings
- Objective-C: Reading a file line by line
- Check that a input to UITextField is numeric only
- Number of occurrences of a substring in an NSString?
- Any way to bold part of a NSString?
- Calculating the number of days between two dates in Objective-C
- Weak NSString variable is not nil after setting the only strong reference to nil
- Difference between NSString literals
- Split an NSString to access one particular piece
- If “a == b” is false when comparing two NSString objects
- Convert NSArray to NSString in Objective-C
- NSString to CFStringRef and CFStringRef to NSString in ARC?
- NSString: isEqual vs. isEqualToString
- How to remove whitespace from right end of NSString?
- Remove characters from NSString?
- How to convert NSNumber to NSString
- Replace all NSNull objects in an NSDictionary
- Finding a substring in a NSString object
- How to make subscripts and superscripts using NSAttributedString?
- NSString is integer?
- Using NSRegularExpression to extract URLs on the iPhone
- How to get substring of NSString?
- Convert string to float in Objective-C
- Converting NSString to NSDictionary / JSON
- sizeWithFont method is deprecated. boundingRectWithSize returns an unexpected value
- NSString – Convert to pure alphabet only (i.e. remove accents+punctuation)
- NSString instance reports its class as NSCFString
- String won’t url encode in iOS
- +[NSString stringWithString:] — what’s the point?