There's a qcc enhancement request out there for a new chunk type ("chunk")
along with a "delimited by" clause.For this example, it would be possible to put the number of chunks delimited by space of field "xyz" into tCount 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 Mon, Oct 13, 2014 at 7:32 AM, Terence Heaford <[email protected]> wrote: > set the wordDelim to space > set the wordDelim to “*” > > set the wordDelim to “any single character you want” > > Should be easy for the LiveCode programmers to deliver such a command. > > also put the wordDelim into myVar > > Initally set to space, resets to space at the end of a handler. > > > All the best > > Terry > > > On 13 Oct 2014, at 15:23, Ralph DiMola <[email protected]> wrote: > > > <-----Original Message----- > > <From: use-livecode [mailto:[email protected]] On > Behalf > > Of Mark Wieder > > <Sent: Sunday, October 12, 2014 8:00 PM > > <To: How to use LiveCode > > <Subject: Re: problem with counting words > > < > > < > > <wordDelimiter would be an interesting addition, but would have its own > > complexities. You need to keep in mind that words are delimited by > > <whitespace: spaces, tabs, carriage returns, etc., but also by <some> > >> punctuation: commas, periods, semicolons, etc. > >> > >> I also find that text within quotes being a single word is congruent > with > > defining arguments for comandline syntax. > >> > >> -- > >> -Mark Wieder > >> [email protected] > > > > Also don't forget the non-breaking space Decimal 160. > > > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > [email protected] > > > > > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
