Vcl.FileCtrl.ProcessPath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ProcessPath (const EditText: string; var Drive: Char; var DirPart: string; var FilePart: string);

C++

extern DELPHI_PACKAGE void __fastcall ProcessPath(const System::UnicodeString EditText, System::WideChar &Drive, System::UnicodeString &DirPart, System::UnicodeString &FilePart);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl Vcl.FileCtrl

Description

Parses a file name into its constituent parts.

Call ProcessPath to parse a file name into its drive, path, and file name.

Pass the full file name that should be parsed as the EditText parameter. EditText must refer to an existing file or directory name.

ProcessPath returns the indicated drive, directory, and file name as the Drive, DirPart, and FilePart parameters.

See Also