The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CountWords


Unit:SDL_stringl
Class: none
Declaration: function CountWords (InString: string): integer;

The function CountWords returns the number of words in the string InString. Words are recognized by using the list of word separators defined in the public constant WordSeps. The minimum required length of a word is two characters.


Last Update: 2012-Oct-20