Re: Remove characters from string
Re: Remove characters from string
- Subject: Re: Remove characters from string
- From: Dave Carrigan <email@hidden>
- Date: Thu, 17 Mar 2011 11:03:13 -0700
On Mar 17, 2011, at 10:47 AM, Heizer, Charles wrote:
> I really don¹t want to search though the entire string to find a replace.
> The "©" is just an example of the characters I would like to remove. I
> guess my real question is how do I remove all Unicode characters from a
> string?
Given that every character in a string is a "Unicode character", this should work:
theString = @"";
Flippancy aside, you should probably tell us why you want to do this, because it really sounds like you're going down the wrong path here. The list might have better ideas as to how to even avoid the need to do this in the first place if we knew more details of your problem.
--
Dave Carrigan
email@hidden
Seattle, WA, USA
_______________________________________________
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