strcat in octave 3.2.0-mingw32
John W. Eaton
jwe at octave.org
Thu Jul 9 14:49:45 CDT 2009
On 1-Jul-2009, Christoph Ellenberger wrote:
| Using the binaries provided from sourceforge I encountered the following problem
|
| > strcat('test ', 'space', ' in ' , ' between')
| ans = testspace in between
| octave-3.2.0.exe:44:U:\Daten
| > strcat("test ", "space", " in " , " between")
| ans = testspace in between
| octave-3.2.0.exe:45:U:\Daten
|
| Spaces at the end of strings are being cut away, this is obviously a different behaviour as in 3.0.3.... Is this the intended behaviour or a bug ?
It's an intentional change for compatibility with Matlab.
We introduced the cstrcat function as a replacement that doesn't drop
spaces.
jwe
More information about the Bug-octave
mailing list