I would like to define an NSString
, of length 1, whose only character is a non-breaking space. How should I do ?
Use universal character names:
// http://en.wikipedia.org/wiki/Non-breaking_space
NSString* const nonBreakingSpace = @"\u00A0";
// small-u takes four digits, big-u takes eight
// NSString* const nonBreakingSpace = @"\U000000A0";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With