Skip to content

Instantly share code, notes, and snippets.

@youssman
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save youssman/40c857b14776d31585b1 to your computer and use it in GitHub Desktop.
Save youssman/40c857b14776d31585b1 to your computer and use it in GitHub Desktop.
explode in iOS (Split an NSString)
NSArray* split = [@"10/04/2011" componentsSeparatedByString: @"/"];
NSString* mounth = [split objectAtIndex: 1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment