On 10/25/06, Vince Teachout <[EMAIL PROTECTED]> wrote:
John Gunvaldson wrote:
> Anyone have a handy dandy parse routine for contents of string
> containing fullpath of a filename
>
> Remove folders from example:
> C:\folder1\folder2\folder3\folder4\filename.ext
>
> What I would like to return is just the individual folder names, never
> the drive letter, never the server, never the share name and never the
>
Well, Justpath() gets you part of the way there.....
And JUSTDRIVE() gets you a bit further:
lcFullPath = "C:\folder1\folder2\folder3\folder4\filename.ext"
?JUSTPATH(STRTRAN(lcFullPath, JUSTDRIVE(lcFullPath), ""))
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.