• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString -componentsSeparatedByString: line break
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString -componentsSeparatedByString: line break


  • Subject: Re: NSString -componentsSeparatedByString: line break
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Sun, 26 Jul 2009 19:23:58 -0700


On Jul 26, 2009, at 7:11 PM, Greg Guerin wrote:

Chase Meadors wrote:

If the length of this mystery string is 1 and it's not a space, what is it???

Use -characterAtIndex:0 and print the returned unichar using the "%x" format.

Another sometimes-handy trick is to create a mutable copy and call CFStringTransform with kCFStringTransformToUnicodeName.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSString -componentsSeparatedByString: line break
      • From: Rob Keniger <email@hidden>
References: 
 >Re: NSString -componentsSeparatedByString: line break (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: NSString -componentsSeparatedByString: line break
  • Next by Date: Document-Based Application
  • Previous by thread: Re: NSString -componentsSeparatedByString: line break
  • Next by thread: Re: NSString -componentsSeparatedByString: line break
  • Index(es):
    • Date
    • Thread