【发布时间】:2016-12-12 02:40:35
【问题描述】:
我尝试制作一个有很多字符的字符串,
var
a: String;
b: array [0 .. (section)] of String;
c: Integer;
begin
a:= ('some many ... text of strings');
c:= Length(a);
(some of code)
并使其成为每 10 个字符的数组。最后是剩余的字符串。
b[1]:= has 10 characters
b[2]:= has 10 characters
....
b[..]:= has (remnant) characters // remnant < 10
问候,
【问题讨论】:
标签: delphi pascal lazarus freepascal