Registriert seit: 31. Jul 2004
1.110 Beiträge
Delphi 2010 Professional
|
Re: StringReplace mit Tücken ... Lösung gesucht ...
3. Nov 2006, 15:23
Delphi-Quellcode:
For i := 1 to Length(S) do
If Copy(S, i, 2) = #05#18 Then Begin
Delete(S, i, 1);
S[i] := #02;
End Else If Copy(S, i, 2) = #05#19 Then Begin
Delete(S, i, 1);
S[i] := #03;
End Else If Copy(S, i, 2) = #05#21 Then Begin
Delete(S, i, 1);
S[i] := #05;
End;
Many Thx! So gehts.
Dominik Schmidt Greetz Dominik
I love Delphi 2007/2010
|
|
Zitat
|