>>Anyone know what would cause VFP’s Getwordcount function to yield a dramatically different count than MS Word?
>>
>>I have a text file. Replaced any chr 9’s with spaces.
>>
>>If if do a getwordcount(mystring) I get 4012. The same file in MS word shows 2275
>>
>>I did this under version and have not tried it under 8.
>>
>>Thanks,
>
>If you replace CHR(13)'s and CHR(10)'S with spaces does it line up better?
Perfect!
That made it an exact match.
The docs on the function said it only looked at spaces and chr9
Thanks,
Chris