Returns the last component of a path
Source position: amigados.pas line 2586
function FilePart( |
const Path: PChar |
):PChar; |
Path |
|
pointer to an path string. May be relative to the current directory or the current disk. |
pointer to the last component of the path.
This function returns a pointer to the last component of a string path specification, which will normally be the file name. If there is only one component, it returns a pointer to the beginning of the string.
|
Returns a pointer to the end of the next-to-last component of a path. |
|
|
Appends a file/dir to the end of a path |