strcat(["", "A", "", "B"], ",") now returns "A,,B" instead of ",A,,B" (6.0 Change/Regression)
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
// After
s = ["", "A", "", "B"];
// With Scilab 5.5.2, we had:
-->size(s)
ans =
1. 4. // OK
-->strcat(s, ",")
ans =
,A,,B // OK
// With Scilab 6.0.0:
--> size(s)
ans =
1. 4. // Still OK
--> strcat(s, ", ")
ans =
A, , B // NOK: missing initial ","
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
s = ["", "A", "", "B"];
size(s)
strcat(s, ",")==",A,,B"