![]() |
Alternative zu Format?
Hallo,
gibt es unter Delphi 8 eine Alternative für die Funktion "format" ohne die VCL einzubinden? Vielen Dank Hitzi |
Re: Alternative zu Format?
System.String.Format ?
|
Re: Alternative zu Format?
Ich meine die andere Funktion. Aus der Delphi 7 Hilfe: "Die Funktion gibt einen formatierten String zurück, der sich aus einem Format-String und einem Array von Argumenten ergibt."
In der Hilfe von Delphi 8 finde ich diese "format" Funktion nur im Borland.Vcl.SysUtils Namespace. Eben diesen will ich aber außen vor lassen. Wird eh eine Windows Form Applikation und keine VCL Form. Die von dir angesprochene Funktion ist zum Formatieren von Zahlen, Daten, ... etc. Hitzi |
Re: Alternative zu Format?
Zitat:
(bis auf die Syntax des Formatstrings natürlich) ![]() ![]() |
Re: Alternative zu Format?
Danke NicoDE. War mein Fehler. Ich hatte nochmal in der Delphi Hilfe nachgesehen und dort bei der Format Funktion gelesen, dass die "Returns a string formatted according to instructions contained in a format String expression.".
Ich hätte allerdings bei "Format method" nachlesen solle. Danke für deine Hilfe. MfG Hitzi |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:41 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