Not to reply to myself, but -- erm -- that second one should be - [NSString getCharacters:range:] -- with a second colon (this one after "range"). Also, sorry for top-posting, but I had to since I neglected to bottom post in my original reply.

Cheers,
        Andrew

On Aug 7, 2008, at 9:53 PM, Andrew Merenbach wrote:

Hi!

Would -[NSString getCharacters:] or -[NSString getCharacters:range] (both of which return a unichar array), or better yet -[NSString getCString:maxLength:encoding:] work for your purposes?

Even better still, perhaps one of
        
        - [NSString cStringUsingEncoding:]
        - [NSString UTF8String]
        - [NSString fileSystemRepresentation]

might work for you.

Cheers,
        Andrew

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

Hi,I want to retrieve characters from NSString Can any one guide me how to
do it.
Ex:
NSString *ob=@"TEST Object";

Now how to retrieve the "Test Object " value into my Char Array.

Regards,
Sri.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/andrew.merenbach%40ucla.edu

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/andrew.merenbach%40ucla.edu

This email sent to [EMAIL PROTECTED]

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to