[Lazarus] Splitting a sentence into words??!

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Jun 27 16:59:57 CEST 2012



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.

Michael.




More information about the Lazarus mailing list