![]() |
Re: Array of ?
Zitat:
Delphi-Quellcode:
Sein Aufruf:
function Explode(const Separator, S: string; Limit: Integer = 0): TStringDynArray;
Delphi-Quellcode:
Foo := Explode(' ', Memo1.Lines[i]);
|
Re: Array of ?
Oh Gott, ich geh ins Bett. :wall: Sorry :oops:
|
Re: Array of ?
Was soll ich denn jetzt machen, damit ich ein 2 dimensionales Array of String habe, in dem jedes Wort pro Zeile der Memobox gespeichert werden?
|
Re: Array of ?
Hallo,
das geht so:
Delphi-Quellcode:
Grüße
var
ExplodeArray: array of TStringDynArray; i: Integer; begin SetLength(ExplodeArray, Memo.Lines.Count); for i := 0 to Memo.Lines.Count-1 do ExplodeArray[i] := Explode(' ', Memo.Lines[i]); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:30 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