Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getwordcount way off??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00833318
Message ID:
00833358
Vues:
28
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform