• 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: Count of Tab characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count of Tab characters


  • Subject: Re: Count of Tab characters
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 20 Jan 2001 17:53:02 -0800

On 1/20/01 5:35 PM, "Allen Watson" <email@hidden> wrote:

> "count" gives the number of somethings in the object, usually characters or
> items (in a list). It is a verb, not a property, so the correct syntax would
> be "count tabchar" and not "count of tabchar" (the latter form is used for
> things like "first word of document", or another example, "count words of
> document").


Although it is true that "count" is a verb, "count of" does work "as if" it
were a noun - it's coerced to "count". It doesn't help here anyway, of
course, as you say - unless you want to run a repeat loop on every character
of allText looking for tabs, counting them as you go or afterwards.
(Afterwards could use "count" or "count of").



--
Paul Berkowitz


References: 
 >Re: Count of Tab characters (From: Allen Watson <email@hidden>)

  • Prev by Date: Re: Deleting locked files
  • Next by Date: Re: Deleting locked files
  • Previous by thread: Re: Count of Tab characters
  • Next by thread: Re: Count of Tab characters
  • Index(es):
    • Date
    • Thread