>>Actual function (this is a shortie) has more housekeeping to do, because it accepts "ALL" as a parameter (default if parameter omitted), and then it CLOSEs ALL, but unfortunately it closes the classlibs too, so it has to reopen them. Words() and WordNum() are from Foxtools.fll.
>
>I keep hearing about this "Foxtools". What is it, and where can I get it?
>
>-Michelle
You have it already. In VFP6, most of the string and filename/path manipulation functions from foxtools are now native.
Set library to (home()+"foxtools.fll") additive