View Revisions: Issue #36806

Summary 0036806: Stringhelper.Split returns array with extra empty string when last char of the string is delimiter.
Revision 2020-03-19 22:42 by Michael Van Canneyt
Description writeln(length('a'0000010'b'0000010.Split(0000010,TStringSplitOptions.ExcludeEmpty)));
prints 3 when expected is 2.

Patch attached.
Revision 2020-03-19 13:38 by delfion
Description writeln(length('a'0000010'b'0000010.Split(0000010,TStringSplitOptions.ExcludeEmpty)));
prints 3 when expected is 2.

Patch attached.