- (NSArray *)componentsSeparatedByString:(NSString *)separator
componentsSeparatedByString: returns an array containing the substrings from the receiver that was split into this separator.
- (NSArray *) componentsSeparatedByString: (NSString *) separator Separator parameter A separator string. Return Value An NSArray object containing substrings from the receiver, which was delimited by a delimiter.
, . . , , , , . , :
NSString *list = @"Norman, Stanley, Fletcher";
NSArray *listItems = [list componentsSeparatedByString:@", "];
produces an array { @"Norman",@"Stanley", @"Fletcher" }.
, , ", , , Fletcher" - : {@ ", @" ", @" ", @" "}
, ," Norman "- {@" Norman"}.
Mac OS X 10.0 .
. :
componentsJoinedByString: (NSArray)
- pathComponents
:
ColorMatching
CoreRecipes
iSpend
iSpendPlugin
QTKitMovieShuffler
NSString.h
NSString docs