| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Counts the words in a text file.
FWordCount( <cFileName> ) --> nWordCount
The function returns the number of words contained in a text file.
The function counts the words in an ASCII text file. Words are recognized as sequences of characters delimited by blank spaces (Chr(32)).
| See also: | FCharCount(), FLineCount() |
| Category: | File functions , xHarbour extensions |
| Source: | rtl\fparse.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com