octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strcat and spaces?


From: John W. Eaton
Subject: Re: strcat and spaces?
Date: Wed, 26 Nov 2008 11:52:42 -0500

On 26-Nov-2008, Søren Hauberg wrote:

| ons, 26 11 2008 kl. 11:33 -0500, skrev Ben Abbott:
| > I think it is due to the need to pad spaces/blanks at the end of
| > character data in a matrix format.
| 
| Ah yes, I understand. It makes sense that 'cellstr' behaves like that
| for character matrices, which in turn makes it reasonable for ordinary
| strings.
| 
| I'm not a fan of this behavior, but at least it makes some sense :-)

Don't blame us for it...

We added cstrcat so we could have the behavior you expect for the case
you originally mentioned.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]