The definition of a word
Peter T. Evensen
pevensen at siboneylg.com
Fri Jul 28 18:33:07 EDT 2006
I need now reading the documentation that items enclosed in quotes are one
word. That seems almost undesirable. What are your all thoughts? Is
there a case where you use this?
At 05:25 PM 7/28/2006, you wrote:
>I just ran into something unexpected. If I do the following, I get
>1! Does having a quote in a text string change the definition of a word?
>
>put the number of words in (quote & "This is a test" & quote)
>
>In anything defined in quotes considered one word? I would have expected
>"This is a test" (including the quotes) to have 4 words:
>"This
>is
>a
>test"
>
>I tried using token, and I get the same result.
>
>put the number of words in (quote & "This is a test")
>
>produces 1 as well, but
>
>put the number of tokens in (quote & "This is a test" & quote)
>
>produces 0
Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588
More information about the use-livecode
mailing list