• 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
counting w*rds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

counting w*rds


  • Subject: counting w*rds
  • From: Ehsan Saffari <email@hidden>
  • Date: Mon, 21 May 2001 23:03:20 -0600

There are many characters that AS considers a word:

set x to "****"
count words of x -->4

how can I count the words in a string while
ignoring a special character like "*" using vanilla AS:

set x to "****"
count words of x -->me needs 1

and on a similar note, how to count the occurances of a substring in a
string?

thanks for any hints

cheers
ehsan


  • Prev by Date: Giving Folder Actions Extension More Memory
  • Next by Date: AppleScript & Mac OS X
  • Previous by thread: Giving Folder Actions Extension More Memory
  • Next by thread: Re: counting w*rds
  • Index(es):
    • Date
    • Thread