It's not quite as straightforward as that since strings within double quotes are supposed to be recognized as words too. I'm fine with the way it works but the dictionary needs a few more words to explain that strings in quotes also need to have space/return/tab around them to qualify as words.
Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Fri, Dec 5, 2014 at 3:23 PM, Bob Sneidar <bobsnei...@iotecdigital.com> wrote: > If that is the case, then word 1 return the correct value, word 2 is > incorrect. Word boundaries are spaces and there are no spaces so word 1 > *should* be the whole string and word 2 should be empty. > > Bob S > > > On Dec 5, 2014, at 13:42 , dunb...@aol.com<mailto:dunb...@aol.com> wrote: > > word 1 of a string like myProps["cProp"] returns the whole string. Word 2 > returns"cProp"] > > Since cProp is enclosed in double quotes I was expecting: > > word 1 --> myProps[ > word 2 --> "cProp" > word 3--> ] > > This is with LC 6.6.2/OSX. > > Pete > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode