ooRexx Version: Open Object Rexx Version 4.0.0, Build date: Aug 15 2009, Addressing Mode: 32
OS: Microsoft Windows XP [Version 5.1.2600]:
/changestr error/
a = "00"X || "abc"
b = a~changestr("00"X, "123")
say b --expected output: 123abc
--actual output: 123abc12
/**/
When the changestr-function replaces a "00"X it appends additionally the replacement minus one character at the end of the modified string. In the previous example, it adds the string “12” at the end.
Anonymous
Committed revision 5277.
Committed revision 5599.
4.0.1 merge
The fix for this item was in the 4.0.1 release.