출력 문자열이이 형식으로되어 있습니다. 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.
URL을 추출 했으므로 추출 된 URL을 myString과 비교하여 설명 만 표시하려면 어떻게해야합니까? – Siva
문자열을 검색하고 [추출 된 url]을 [nothing]로 바꿉니다! – AVEbrahimi
Objective C의 검색 및 바꾸기 기능이 있습니까? – Siva