problem with counting words

Colin Holgate coiin at verizon.net
Sun Oct 12 14:36:58 EDT 2014


The dictionary clearly says that quoted strings are counted as a single word. If you wanted to work around that as an issue by using the itemDelimiter, you would then look at the number of items in the field, not the number of words.

There’s a better option though, you can see how many truewords there are in the field, because that uses Unicode delimiters.

If you don’t want to use truewords instead of words for some other reason, you could solve the issue by using smart quotes instead of dumb quotes.



More information about the use-livecode mailing list