问题描述
- 对字符串进行格式设置
- 需要对输出字符串设置格式,这样可以将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.rssApple today announced financial results for its fiscal 2013 third quarter endedJune 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.
时间: 2024-12-30 11:59:25