Thema: * Platzhalter

Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#3

Re: * Platzhalter

  Alt 5. Jan 2007, 09:49
Aus der Hilfe:

Zitat:
function ExtractFileExt(const FileName: string): string;
Description

Use ExtractFileExt to obtain the extension from a file name. For example, the following code returns the extension of the file name specified by a variable named MyFileName:

MyFilesExtension := ExtractFileExt(MyFileName);

The resulting string includes the period character that separates the name and extension parts. This string is empty if the given file name has no extension.
Klaus
  Mit Zitat antworten Zitat