Returns a pointer to the end of the next-to-last component of a path.
Source position: amigados.pas line 1691
function PathPart( |
const path: pCHAR |
):pCHAR; |
const path: string |
):pCHAR; |
path |
|
Pointer to an path string. May be relative to the current directory or the current disk. |
Pointer to the end of the next-to-last component of the path.
path |
|
Pointer to an path string. May be relative to the current directory or the current disk. |
This function returns a pointer to the character after the next-to-last component of a path specification, which will normally be the directory name. If there is only one component, it returns a pointer to the beginning of the string. The only real difference between this and FilePart() is the handling of '/'.
|
Returns the last component of a path |
|
|
Appends a file/dir to the end of a path |