>Is there an obvious way to eliminate the last four characters of a string variable? Like somehow use the RIGHT() function? The number of characters of the string vary, but the string always has the same four characters at the end. Like an extension.
>
>Thanks for putting up with newbie questions.
To combine the suggestions, here is another option:
strtran(lcString, right(lcString, 4), '')
As you can see, in VFP there are usually 3 ways of coming up with the same result.
Mark McCasland
Midlothian, TX USA