![]() |
AW: Dateiendung ohne Punkt
Eine Fileextension hat am Anfang einen Punkt oder ist leer.
Die Abfrage auf den Punkt kann man sich also gepflegt sparen. Ein
Delphi-Quellcode:
ist absolut ausreichend und ohne Schnörkel
Copy( Ext, 2 )
|
AW: Dateiendung ohne Punkt
Nja, wenn man an das neue String-Debakel denkt, dann
Delphi-Quellcode:
oder
Copy(S, Low(string) + 1)
Delphi-Quellcode:
:roll:
Copy(S, Succ(Low(string)))
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:05 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz