Page 3 of 3

Re: OK. I give up

Posted: Thu Aug 23, 2018 8:58 pm
by FourthWorld
dunbarx wrote: Thu Aug 23, 2018 8:55 pm Richard.

It may be a marginal issue, but if LC considers tabs to be word delimiters and HC does not, the number of words in a particular processed string may give unexpected results. I am constantly taking strings with tabs and counting words. HC would not have condoned that.
Words are delimited by white space. If HC did not include tabs, CRs, and other characters in addition to space as word delimiters then it was broken and there should be no problem with making LC's implementation correct as you requested.

Re: OK. I give up

Posted: Thu Aug 23, 2018 9:15 pm
by dunbarx
HC limited itself to returns and spaces.

LC added tabs.

I like tabs, because a great deal of the work I am doing for my current project has much tab delimited text that requires both the counting of words and the isolation of particular words. I do not need to set the itemDel to tab to do this.

Craig

Re: OK. I give up (Word delimiting)

Posted: Thu Aug 23, 2018 9:17 pm
by dunbarx
I modified the title of this thread, since it may actually be of interest to some, and not just a spate of whining by me.

Craig

Re: OK. I give up (Word delimiting)

Posted: Thu Aug 23, 2018 10:12 pm
by FourthWorld
Nicely done on the thread title. xTalk word parsing is often a murky subject for newcomers. The new thread title will help folks find this useful discussion. Thanks.