• 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
Adding spaces to an NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding spaces to an NSString


  • Subject: Adding spaces to an NSString
  • From: "J. Todd Slack" <email@hidden>
  • Date: Tue, 18 Mar 2008 17:40:19 -0700
  • Thread-topic: Adding spaces to an NSString

Hello All,

I am a little stumped today, not sure why, but how would I add a space after
every character in an NSString and produce a new NSString from it.

So I have something like: (ignore the quotes, I just did it for containment
sake..)

³/Users/slack/Music²

And I want it to be:

³/ U s e r s / s l a c k / M u s i c ³

Would anyone have any thoughts?

Thanks!
-Jason
_______________________________________________

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

  • Follow-Ups:
    • Re: Adding spaces to an NSString
      • From: "Shawn Erickson" <email@hidden>
    • Re: Adding spaces to an NSString
      • From: "stephen joseph butler" <email@hidden>
    • Re: Adding spaces to an NSString
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: CGFloat in 10.4
  • Next by Date: OT: Cocoa classes in Vancouver, Canada
  • Previous by thread: Re: User Defaults Controller - IB
  • Next by thread: Re: Adding spaces to an NSString
  • Index(es):
    • Date
    • Thread