• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Word count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word count


  • Subject: Re: Word count
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 10 Jun 2004 09:18:10 -0700

On Jun 9, 2004, at 8:26 PM, Matt Baker wrote:

So, for anyone who's run into counting / parsing, what's the quickest way to accurately count words with NSScanner (or anything else in Cocoa)?

For accuracy, I would suggest -[NSAttributedString nextWordFromIndex:forward:].

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Word count (From: Matt Baker <email@hidden>)
 >Re: Word count (From: j o a r <email@hidden>)
 >Re: Word count (From: Matt Baker <email@hidden>)

  • Prev by Date: Re-formatting NSString
  • Next by Date: Re: two things (newbie)
  • Previous by thread: Re: Word count
  • Next by thread: DO: threads deadlock when sending oneway messages to each other
  • Index(es):
    • Date
    • Thread