Autor Beitrag
icedre
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45

Windows XP Prof. , SuSE Linux 9.0 Prof.
Borland Delphi 6.0 Enterprise
BeitragVerfasst: Mi 23.02.05 19:37 
Hallo,

also ich hab ne Variable, in der ich den Text eines Memofelds speichere...
Jetzt will ich jeden Buchstaben durch 'X' ersetzen,
ich würd jetzt "text:=StringReplace(text, 'a', 'X', [rfReplaceAll, rfIgnoreCase]);" für jeden Buchstaben machen, aber ich bin mir sicher, das geht auch anders, vielleicht mit Pos oder so...
Hat vielleicht jemand einen Votschlag?

Danke !

_________________
Sprach Abraham zu Braham:
Kann ich deine Frau besamen
cartridge
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 209

Win XP
D4 Prof,D6 Prof
BeitragVerfasst: Mi 23.02.05 19:55 
Versuchs mal mit:
ausblenden Delphi-Quelltext
1:
Memo1.text := StringOfChar('X', 10{Anz. Buchstaben});					


Gruß
Ingo