To break your text into sentences, I suggest swiping
componentsSeparatedByCharacterRunFromSet:
from:
<http://thotzy.com/THOTZY/ComponentsSeparatedByCharacterRunFromSet%3A.html
>
-- and create a character set of your sentence-splitting characters to
prime it with.
If you need to preserve the terminating character for some reason, you
will need to modify the code a bit, or create your own custom method
using it as a guide to NSScanner.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com