Name
PathPart -- return the path component of a path
Synopsis
p$ = PathPart(path$)
Function
This function extracts the pathname from a path specified by path$ and returns it. The returned path part will always end with a "/" or a ":" so that you can immediately add a filename to it.

Inputs
path$
source path
Results
p$
path part
Example
p$ = PathPart("Data/Gfx/Test.jpg")
Print(p$)
The above code prints "Data/Gfx" to the screen.

Show TOC