Tore
I wouldn't have thought of that because JUSTSTEM should, according to Help, work with a File Name (expecting an extension and not "\"). So is this undocumented extended use of a function?
Terry
>Easiest solution
JUSTSTEM(JUSTPATH(cdir))
>>Hi all,
>>
>>I have cdir = "c:\Myapp\mydata\Bo\" and i want "bo".
>>
>>How can i do it ?
>>
>>thank in advance
>>
>>Bernhart
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.