mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02:00
* Overloaded split needs similar patch
git-svn-id: trunk@44313 -
This commit is contained in:
parent
123fe94206
commit
5fe164498b
@ -1311,9 +1311,12 @@ begin
|
||||
begin
|
||||
T:=SubString(LastSep);
|
||||
// Writeln('Examining >',T,'< at pos,',LastSep,' till pos ',Sep);
|
||||
MaybeGrow(Len);
|
||||
Result[Len]:=T;
|
||||
Inc(Len);
|
||||
If (T<>'') or (not (TStringSplitOptions.ExcludeEmpty=Options)) then
|
||||
begin
|
||||
MaybeGrow(Len);
|
||||
Result[Len]:=T;
|
||||
Inc(Len);
|
||||
end;
|
||||
end;
|
||||
SetLength(Result,Len);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user