[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in pre
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr |
Date: |
Sat, 22 Jun 2013 14:31:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 |
Follow-up Comment #2, bug #39288 (project octave):
Firstly, I noticed that this version of strjoin uses a completely different
syntax than what the function reference says: it takes the strings to join in
the first parameter as a cell array and the delimiter as the second. But it's
probably good to change that, since MATLAB's strjoin function
<http://www.mathworks.com/help/matlab/ref/strjoin.html> does the same thing.
Secondly, it throws a dimension mismatch error if I pass more than one string
in the cell array:
octave:5> strjoin({'marie'}, ', ')
ans = marie
octave:6> strjoin ({"Octave", "Scilab", "Lush", "Yorick"}, "*")
error: horizontal dimensions mismatch (2x4 vs 1x1)
error: called from:
error: /path/strjoin.m at line 80, column 8
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39288>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, anonymous, 2013/06/19
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, Dan Sebald, 2013/06/21
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr,
anonymous <=
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, Dan Sebald, 2013/06/22
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, Ben Abbott, 2013/06/22
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, Dan Sebald, 2013/06/23
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, anonymous, 2013/06/23
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, Dan Sebald, 2013/06/23
- [Octave-bug-tracker] [bug #39288] strjoin ignores trailing spaces in prefixstr, Ben Abbott, 2013/06/23