Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. var
  2. SLista: TStringList;
  3. Arrangement: array of String;
  4. Index: Integer;
  5. text: string;
  6.  
  7. SLista: = TStringList.Create;
  8. Text: = 'hi' + sLineBreak + 'world' + sLineBreak + 'yeah' + sLineBreak
  9. + 'Yeah';
  10.  
  11. SLista.Delimiter: = sLineBreak;
  12. SLista.DelimitedText: = text;
  13.  
  14. SetLength (Arrangement SLista.Count);
  15. for index: = 0 to Pred (SLista.Count) do
  16. Writeln (SLista [index]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement