Word chunk includes punctuation
Peter M. Brigham
pmbrig at gmail.com
Wed Aug 15 10:33:07 EDT 2012
On Aug 15, 2012, at 7:23 AM, Jim Hurley wrote:
> Just diving in I tried: put the number of words in tText into msg box
>
> No matter what I put into tText by way of quotes or tabs or punctuation, I always seem to get what I expect.
>
> It would be nice if someone would post a line or two of text, the quintessential challenge, to demonstrate where the problems lie.
If I put the following into a field:
How many "words are in this field?"
and then try
put the number of words of fld "f"
I get
3
That is not what *I* would expect. There was a discussion last year on this list of the pros and cons of maintaining the HC convention of regarding anything in quotes as a single word. I still don't think it makes sense. In my universe the answer is 7.
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list