Closed
Description
This unit can generated an out of bounds error when following white space is at the end of a string. The Idx
index can go beyond the end of the string.
The bug is in the line:
Line 407 in 02656b8
A fix is to change the above line to:
while (Idx <= Length(Str)) and TCharacter.IsWhiteSpace(Str[Idx]) do