1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27:
| gross := false; for i4 := 0 to length(FileContents) do begin
if gross = false then begin if ((FileContents[i4] in ['A'..'Z','Z'..'A'])and(FileContents[i4+1] in ['a'..'z','z'..'a']) and (FileContents[i4+2] in ['a'..'z','z'..'a'])and (FileContents[i4+3] in ['a'..'z','z'..'a'])and (FileContents[i4+4] in ['a'..'z','z'..'a'])and (FileContents[i4+5] in ['a'..'z','z'..'a'])and (FileContents[i4+6] in ['a'..'z','z'..'a'])and (FileContents[i4+7] in ['a'..'z','z'..'a'])and (FileContents[i4+8] in ['A'..'Z','Z'..'A']))then begin
gross := true; StrassenTeil2 := Copy(FileContents,i4,(i4+8) - (i4)); Delete(FileContents,i4,(i4+8) - (i4)); end; end;
if gross then begin
if (FileContents[i4+1] in [' '])and (FileContents[i4+2] in ['a'..'z','z'..'a','.','9'..'0','0'..'9']) then begin insert(StrassenTeil2,FileContents,i4+2); gross := false; end;
end; end; |