2 ooomiao oOOMIAO 于 2013.07.29 16:11 提问

对字符串进行格式设置

需要对输出字符串设置格式,这样可以将URL和内容分开显示。请指教。

代码:NSLog(@"Description %@", string);

输出字符串:

2013-07-28 11:13:59.083 RSSreader[4915:c07] Description         
http://www.apple.com/pr/library/2013/07/23Apple-Reports-Third-Quarter-Results.html?sr=hotnews.rss
Apple today announced financial results for its fiscal 2013 third quarter ended
June     29, 2013. The Company posted quarterly revenue of $35.3 billion and quarterly 
net profit of $6.9 billion, or $7.47 per diluted share. 
Apple sold 31.2 million iPhones, which set a June quarter record. 
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!