• 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: How to get array of characters from NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get array of characters from NSString


  • Subject: Re: How to get array of characters from NSString
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 7 Aug 2008 23:45:57 -0600


On Aug 7, 2008, at 10:27 PM, SridharRao M wrote:

Hi,I want to retrieve characters from NSString Can any one guide me how to
do it.


What do you mean by that? If you want to translate an NSString into a C char array, then use -UTF8String. If you want to get a range of 2- byte characters from an NSString, then use -getCharacters:range:.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

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


References: 
 >How to get array of characters from NSString (From: "SridharRao M" <email@hidden>)

  • Prev by Date: Re: Cocoa Dev Style: Using Class versus Object Methods
  • Next by Date: Re: simple string to NSData question
  • Previous by thread: Re: How to get array of characters from NSString
  • Next by thread: Re: How to get array of characters from NSString
  • Index(es):
    • Date
    • Thread