objective c - How to capitalize each word of a NSString -


I am trying to figure out how to get a given nsstring and change it in case of camel. I have seen lots of code samples down and between underscore and camel-case, but I am working with stars that are capitalized.

So if I get a string: 12345 sample STREET # 12 or 789 N Haskell Street , I will call them 12345 sample street # 12 < / Code> and 789N Haskell Street ?

Sorry if this is a stupid question, but I'm very new to the objective-c / coco frameworks world.


Comments