![]() |
Implode/Explode wie in PHP?
Hallo! Wie kann ich wie in PHP einen String wie mit implode oder explode in ein Array zerlegen bzw. das Array wieder zusammensetzen.
|
Re: Implode/Explode wie in PHP?
Forensuche:
![]() |
Re: Implode/Explode wie in PHP?
Benutze doch einfach eine Stringlist ;)
|
Re: Implode/Explode wie in PHP?
Ähm, ja. Wie genau?
|
Re: Implode/Explode wie in PHP?
Hier steht alles ausführlich beschrieben:
![]() ![]() Grüße Faux |
Re: Implode/Explode wie in PHP?
Zitat:
Delphi-Quellcode:
zum anderen gibt es den CommaText und den DelimitedText (bevorzuge ich, da Delimiter beliebig festgelegt werden kann.
MyList[n] := ...
Delphi-Quellcode:
MyList := TStringList.Create;
MyList.Delimiter := #13; MyList.DelimitedText := 'Test1'#13'Test2'#13'Test3'; ... |
Re: Implode/Explode wie in PHP?
Aso, er wollte es wie in PHP machen, und nicht in PHP. :oops:
|
Re: Implode/Explode wie in PHP?
Zitat:
|
Re: Implode/Explode wie in PHP?
Zitat:
|
Re: Implode/Explode wie in PHP?
Werde es wohl mit der CodeLib machen, Implode kriege ich schon hin. Danke.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:36 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz