cocoanetics.com
Splitting a String into Paragraphs … with Blocks
I found myself in need of splitting an NSString into paragraphs. Or more precisely to analyze a string and find the NSRange for each such paragraph. At first I wrote a C-style function that looked …