![]() |
Re: eine Textdatei (.txt) in Dephi auswerten
Hallo Bernhard,
das ist mir klar, ich habe es ja oben auch in der Schleife realisert und als Beispiel zur Verfügung gestellt.
Delphi-Quellcode:
Ich dachte nur man könnte das eventuell wie...
i := 0;
while i < SMSList.Count do begin temp := SMSList[i]; for iZeichen := 1 to 9 do begin SMSBool := false; if pos (IntToStr(iZeichen), temp) = 11 then SMSBool := true; if SMSBool then Break; end; if not SMSBool then SMSList.Delete(i); inc(i) end; MEMO1.Text := SMSList.Text;
Delphi-Quellcode:
lösen.
if pos(['0'..'9'],SMSList[i]) = 11 then
//oder if pos(IntToStr([0..9]),SMSList[i]) = 11 then Schade eigendlich. Gruß Jens |
Re: eine Textdatei (.txt) in Dephi auswerten
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:57 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