Autor Beitrag
noctua
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 170



BeitragVerfasst: Fr 01.10.04 23:37 
ich weiss nicht ob es einen einfachren code gibt ,..... also ich habe den string "hallo#peter#" und jett wollte ich die beiden wörter trennen ........ ich hatte die idee das ich jeden buchstaben kontroliere ob es ein "#" und dan bis zu dieser position alle buchtaben speichere ..... aber soviel ich weiss gibt es eine einfahcere methode.......... kennt die einer?

_________________
Am ende sterben eh alle ................
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: Sa 02.10.04 07:45 
Schau mal in der Hilfe unter copy und pos. Falls du dann noch nicht zurecht kommst, dann sach bescheid.
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 02.10.04 08:45 
Wäre nicht StringReplace besser geeignet? ..........
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Sa 02.10.04 08:47 
Auch hier geht wieder Signatur 1. ... *dumdidum* ;-)

_________________
Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 02.10.04 08:50 
Hehe... ich wollt mich nur mal wieder etwas beliebter machen. :mrgreen: :wink:
*änder*
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: Sa 02.10.04 08:58 
@coder:
Für die Lösung des Problems reicht StringReplace aber nicht. Hast dich also unbeliebt gemacht :mrgreen:
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 02.10.04 09:02 
hm... kann er mit 'Wörter trennen' nicht auch gemeint haben # durch ein Leerzeichen oder einen Zeilenumbruch zu ersetzen?
*noch keine Zauberkugel hab :( *
:wink:
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: Sa 02.10.04 09:05 
Es ist schon ein Kreuz mit den unklaren Formulierungen :wink:
Jeder interpretiert das anders.
EDIT: Wann hast du Geburtstag? Ich kann dir dann eine Zauberkugel auf CD brennen. Wäre dann allerdings 'ne Raubkopie ...
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 02.10.04 09:13 
Hehe, bis zum Geburtstag dauerts noch ne ganze weile. Aber zu Weihnachten gerne. :mrgreen: (Mach ne While-Schleife drum)

Ich glaube wir trifften ziemlich vom Thema ab................ :wink:
noctua Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 170



BeitragVerfasst: Sa 02.10.04 13:50 
lol nettes gespräch habt ihr hier ;)

naja eigentlich habe ich 2 Edit fenster und der inhalt der beiden wirt in einen String gepeckt und dan verschikt ... und wen er angekommen is sollen die beiden edits getrennt werden .... für die, die die frage nich verstanden haben :D

_________________
Am ende sterben eh alle ................
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Sa 02.10.04 14:08 
Hast du's denn jetzt hingekriegt?

_________________
Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!