Autor Beitrag
foxy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Di 26.11.02 09:56 
Sers Leude vielleciht dumme Frage aber wenn ich ein 2 strings habe die suchen lasse in einer datei un dann dazwischen mir alles ausgeben lasse das iss kein problem
aber wie kann ich wenn ich einen string habe von dem bis ende und wenn ich den 2 string habe von anfang bis dahin ??
bisher lautet mein code so
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
While Not EoF(f) Do Begin
                  ZNr:=ZNr+1;
                  ReadLn(f,zeile);
                  gefzeit:=StrToTime( copy(zeile,12,8) );
                  if (gefzeit>=gefzeit1) AND (gefzeit<=gefzeit2) Then
                  begin
                    ListBox1.Items.Add( copy(zeile,1,19)+': '+IntToStr(zNr)+' --> '+Kammertext(zeile,KammerNr));
                    X:=StrToDateTime(copy(zeile,12,8));
                    Y:=StrToInt(Kammertext(zeile,KammerNr));
                    FTabelle.Series1.AddXY(X,Y);
                  end;


bitte keiner verbesserung zu diesem an sich weil er geht wunderbar wollte nu schreiben was ich schon hab ... ich denke das nur ne abfrage fehlt aber wie muss ich die stellen


thx

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Di 26.11.02 12:15 
Ich habs scho Jungs .... :lol: :lol: :lol:

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 26.11.02 14:01 
foxy hat folgendes geschrieben:
Ich habs scho Jungs .... :lol: :lol: :lol:

und wie?