| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Change the extension of a filename.
Source position: finah.inc line 22
| function ChangeFileExt( | 
| const FileName: UnicodeString; | 
| const Extension: UnicodeString | 
| ):UnicodeString; | 
| const FileName: RawByteString; | 
| const Extension: RawByteString | 
ChangeFileExt changes the file extension in FileName to Extension. The extension Extension includes the starting . (dot). The previous extension of FileName are all characters after the last ., the . character included.
If FileName doesn't have an extension, Extension is just appended.
None.
| 
 | Return the extension from a filename. | |
| 
 | Extract the filename part from a full path filename. | |
| 
 | Extract the path from a filename. | |
| 
 | Expand a relative filename to an absolute filename. |