Re: converting NSData to string
Re: converting NSData to string
- Subject: Re: converting NSData to string
- From: PGM <email@hidden>
- Date: Thu, 6 Jul 2006 23:27:52 -0400
Rex,
Possibly, you can first make an NSAttributedString using
initWithRTF:documentAttributes: and then get the plain string from that
attributed string.
Patrick
On Jul 6, 2006, at 18:50, Rex Fernando wrote:
Hello,
I have an NSData with rtf data in it. I want an NSString with the
plain text of the data, no tags or images in it. I tried
stringWithData:Encoding:, but couldn't get it to work. Can someone
help me?
Thanks,
Rex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden