• 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 camel case
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString camel case


  • Subject: NSString camel case
  • From: Devraj Mukherjee <email@hidden>
  • Date: Sun, 12 Apr 2009 16:35:51 +1000

Hi all,

My app receives strings from a web service that look like
"everything_else" (no quotes) I would like to convert these strings to
"Everything Else". My initial attempts were going to be using a loop
through the string inspecting it for occurances but I think that will
make the application slow as there are a lot of these strings.

Can I use regular expressions or certainly a better way? Any ideas?

Thanks.

--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
_______________________________________________

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: NSString camel case
      • From: Dave Keck <email@hidden>
    • Re: NSString camel case
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: @selector not working with (id)anObject
  • Next by Date: Re: NSString camel case
  • Previous by thread: NSWorkspace openURL does not launch application
  • Next by thread: Re: NSString camel case
  • Index(es):
    • Date
    • Thread