摘要:
NSBundle *mainBundle=[NSBundle mainBundle]; NSString * txtPath=[mainBundle pathForResource:@"badytype_index" ofType:@"txt"]; NSString *result=[[NSString alloc] initWithContentsOfFile:... 阅读全文
posted @ 2013-01-23 11:33
天纯蓝
阅读(151)
评论(0)
推荐(0)
摘要:
-(NSString *) getHtmlToText:(NSString*) inputString{ NSString *result=[[NSString alloc] init]; result=inputString; NSRegularExpression *reg=[[NSRegularExpression alloc] init]; reg=[[NSRegularExpression alloc] initWithPattern:@"<([^>]+)>" options:NSRegularExpressionCaseInsensitive 阅读全文
posted @ 2013-01-23 11:29
天纯蓝
阅读(361)
评论(0)
推荐(0)