Actions
Bug #28
closedFixing a bug in Strings.Replace in case of truncation
Start date:
01/30/2015
Due date:
% Done:
100%
Estimated time:
Forum topic:
Description
Strings.Replace does not terminate the resulting string with 0X if truncation is needed.
For example: VAR a: ARRAY 5 OF CHAR; a := "ABCD"; Strings.Replace(a, 1, 1, "xy");
Reported by Manuel Martín Sánchez on 2014-03-21.
In addition, the simple case where the string length is not changed should be optimized.
Refers to CPC 1.7 rc5 change list number 30.
Updated by J. Templ over 10 years ago
- Description updated (diff)
- Status changed from New to Closed
- Assignee set to J. Templ
- Target version set to 1.7
- % Done changed from 0 to 100
Actions