lcString = filetostr(x) lcString = strtran(lcString, 'was', 'Z~Z') ? strtofile(lcString, x) && returned 3,271,930 [bytes]Resistance is futile. Feel the power of VFP string handling capabilities. I do cede the point that this is CASE SENSITIVE so other alternatives have to be used where string functions have to be performed regardless of case.