• 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
NSString replace ocurance of a character with another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString replace ocurance of a character with another


  • Subject: NSString replace ocurance of a character with another
  • From: "Devraj Mukherjee" <email@hidden>
  • Date: Sat, 12 Jan 2008 23:18:10 +1100

Hi everyone,

I need to replace the character space with nothing in an instance of
NSString, I noticed that the message
stringByReplacingOccurrencesOfString:withString: is available on OS X
10.5+

However I would like my application to be compatible with 10.4+

Any suggestions on how to replace occurances of a character with
another so its compatible for 10.4 onwards?

Thanks a lot for your time

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________

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

  • Prev by Date: Re: Release compile failure
  • Next by Date: Re: NSString replace ocurance of a character with another
  • Previous by thread: Display PDF in CALayer
  • Next by thread: Re: NSString replace ocurance of a character with another
  • Index(es):
    • Date
    • Thread