PDA

View Full Version : String func: Extract Folder



NewsArchive
03-17-2005, 03:26 AM
[Wednesday, March 16, 2005 9:59 PM]

Can someone verify that Extract Folder is intended to strip the last folder
from a path? That's what it does, but I read a different behavior into the
name.

--
Best regards,

Mark

NewsArchive
03-18-2005, 03:42 AM
[Thursday, March 17, 2005 11:26 AM]

Mark,

This only happens if there is no file in the path.

For example, c:\test\yada returns c:\test

Is there a file in the path specification?

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

NewsArchive
03-18-2005, 03:42 AM
[Thursday, March 17, 2005 6:58 PM]

>Mark,
>
>This only happens if there is no file in the path.
>
>For example, c:\test\yada returns c:\test
>
>Is there a file in the path specification?

No, it was a full path as you illustrated. So absent a file the behavior of
Extract Folder is to strip the last folder from the string. What does it do
if there is a file? IOW, what is the intended use of Extract Folder?

--
Best regards,

Mark