JCL Help:PathExtractFileDirFixed
JCL Help: PathExtractFileDirFixed Function
Search in JCL Help
Search in all projects
Summary
Extracts drive and directory parts from a filename.
Pascal
function PathExtractFileDirFixed(const S: string): string;
Parameters
Parameters | Description |
const S: string | The filename from which to extract the drive and directory parts. |
Return Value
The drive and directory part of the specified filename, terminated with a PathSeparator. If the filename does not contain a drive and directory specification the resulting string is a single PathSeparator character.
Description
PathExtractFileDirFixed extracts the drive and directory parts from the filename specified by S. The resulting path is always terminated with the PathSeparator character (a backslash or a forward slahs depending on the target OS) regardless of whether a drive and/or directory is present in the filename.
About
Unit
Donator
Anthony Steele
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page