• 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: Remove characters from string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Remove characters from string (From: "Heizer, Charles" <email@hidden>)

  • Prev by Date: Re: Remove characters from string
  • Next by Date: Re: Remove characters from string
  • Previous by thread: Re: Remove characters from string
  • Next by thread: Re: Remove characters from string
  • Index(es):
    • Date
    • Thread