Filenames: Parsing Filenames

Describes an example extracting information from file paths.


Click on the following link to download the example:

Click on the following link to download additional files:

Browse Filenames to view the example code.

Browse CommonFramework to view additional files.

Class summary

TParse TFileName RFs


Filenames demonstrates using class TParse how to parse, interrogate and extract components from filenames. Using a single path name, it shows a simple parse using TParse::Set(), and how the components of the path name are retrieved. It then illustrates parsing using RFs::Parse() with default and related paths.