On 27-6-2012 16:59, [email protected] wrote: > > > On Wed, 27 Jun 2012, Reinier Olislagers wrote: > >> Splitting a string with a sentence into words shouldn't be hard, >> should it? >> > > See the strutils unit. > > WordCount, ExtractWord: > > http://www.freepascal.org/docs-html/rtl/strutils/extractword.html > http://www.freepascal.org/docs-html/rtl/strutils/wordcount.html > > They can be used to create the functions you want. > Thanks, Lukasz & Michael.
The wordcount/extractword route seems a bit more elegant. I was a bit leary of trying the stringlist route (e.g. bug 19610 has not filled me with confidence, but perhaps that is misplaced). I could also try that. Thanks again, Reinier -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
