| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Extract the filename part from a full path filename.
Source position: finah.inc line 25
| function ExtractFileName( | 
| const FileName: UnicodeString | 
| ):UnicodeString; | 
| const FileName: RawByteString | 
ExtractFileName returns the filename part from FileName. The filename consists of all characters after the last directory separator character ('/' or '\') or drive letter.
The full filename can always be reconstucted by concatenating the result of ExtractFilePath and ExtractFileName.
For an example, see ExtractFileDir.
None.
| 
 | Extract the filename part from a full path filename. | |
| 
 | Extract the path from a filename. | |
| 
 | Extract the drive and directory part of a filename. | |
| 
 | Extract the drive part from a filename. | |
| 
 | Return the extension from a filename. | |
| 
 | Extract a relative path from a filename, given a base directory. |