摘要: 1. 折分字符串操作:#import <Foundation/Foundation.h>int main (int argc, const char * argv[]){ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; //将一个句子分解为单独的单词 NSString *string1 = @"my name is bill"; NSArray *words = [string1 componentsSeparatedByCharactersInSet:[NSCharacterSet wh 阅读全文
posted @ 2011-05-04 10:12 chenjunbiao 阅读(794) 评论(0) 推荐(0) 编辑