Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 07.05.07 18:34 
Hallo,

ich möchte aus einem FileName (also Pfad+Dateiname+Endung) die .xyz Endung herausschneiden, aber natürlich nur, wenn sie vorhanden ist.

Gibts da ne schöne Funktion ?

Danke schonmal.

Ciao LHUser
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mo 07.05.07 18:38 
Hallo,

ausblenden Delphi-Quelltext
1:
FileOhneExt := ChangeFileExt(FileName,'');					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 07.05.07 19:01 
Daaanke :)