problem with counting words

Terence Heaford t.heaford at btinternet.com
Mon Oct 13 10:32:02 EDT 2014


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 <rdimola at evergreeninfo.net> wrote:

> <-----Original Message-----
> <From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] 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
>> ahsoftware at gmail.com
> 
> Also don't forget the non-breaking space Decimal 160.
> 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list