Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Mi 18.05.05 11:43 
Ich hab einen String, der aus 2 Variablen gebildet wird:
ausblenden Delphi-Quelltext
1:
 rThema := rThema + #10#13 + 'Handy Nr. ' + rHandy;					

Nun brauch ich aber wenn ich den String wieder aus der DB auslese wieder rThema in einer Variablen und rHandy in einer anderen, wie kann ich den String so zerlegen??
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 18.05.05 11:51 
Du weißt, welche festen Zeichen drin stehen.
Schau dir Pos, Copy, Delete an. Entweder in der OH oder auf meiner HP.
Damit ist das ganz einfach.
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 18.05.05 11:51 
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Mi 18.05.05 11:53 
@oneoften da hab ich schon geschaut, aber entweder ich bin heut zu blöd, oder....

ich häng grad dran dass ich nciht weiss,
ausblenden Delphi-Quelltext
1:
  rHandy := copy(stemp, Pos(#13#10, stemp, );					

wie ich copy sag, alles bis zu schluss soll er kopieren
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 18.05.05 12:00 
user profile iconcsigg hat folgendes geschrieben:
@oneoften da hab ich schon geschaut, aber entweder ich bin heut zu blöd, oder....


woran das liegt kann ich dir auch nicht sagen :wink:

such bei google mit dem Stichwort copy pos und delphi, da findeste auch die anwendung der befehle oder du gehst auf jasoculs hp (s.o.)
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Mi 18.05.05 12:03 
ich habs hinbekommen *g*