Thema: Delphi how to split string?

Einzelnen Beitrag anzeigen

Dax
(Gast)

n/a Beiträge
 
#2

Re: how to split string?

  Alt 6. Mai 2006, 16:16
Hey there, how about that?

Delphi-Quellcode:
ItemName := Copy(ItemString, 1, Pos('=', ItemString)-1);
ItemURL := Copy(ItemString, Pos('=', ItemString)+1, Length(ItemString));
Should work

edit: oh darn, forgot the ':'s
  Mit Zitat antworten Zitat