mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 23:40:14 +02:00
* Overloaded split needs similar patch
git-svn-id: trunk@44313 -
This commit is contained in:
parent
123fe94206
commit
5fe164498b
@ -1311,10 +1311,13 @@ begin
|
||||
begin
|
||||
T:=SubString(LastSep);
|
||||
// Writeln('Examining >',T,'< at pos,',LastSep,' till pos ',Sep);
|
||||
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