Insert Char into String
Original Reporter info from Mantis: CandyMan
-
Reporter name: Radek
Original Reporter info from Mantis: CandyMan
- Reporter name: Radek
Description:
Size of string after insert is greater than defined.
Steps to reproduce:
var
S:String[16];
C:AnsiChar = '?';
begin
S:='DefineTestString';
Insert(C,S,20);
WriteLn(S,' ',Length(S)); // Length(S) larger than 16
end.
Mantis conversion info:
- Mantis ID: 23744
- Version: 2.6.0
- Fixed in version: 2.6.4
- Fixed in revision: 25929 (#40c4f4ea)