counting w*rds
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