help-octave
[Top][All Lists]
Advanced

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

Re: 'strcat' is broken (spaces are ignored) in octave-3.6.2 ?


From: Carnë Draug
Subject: Re: 'strcat' is broken (spaces are ignored) in octave-3.6.2 ?
Date: Thu, 28 Jun 2012 17:15:29 +0100

On 28 June 2012 17:02, Sergei Steshenko <address@hidden> wrote:
> 'help strcat' mentions this: "Trailing white space is eliminated", but it 
> doesn't mention whitespaces in the middle. Or I miss mentioning whitespaces 
> in the middle ?

It's the trailing whitespace for *each* of the arguments to strcat
that is removed. A string that is nothing but a space, is nothing but
trailing whitespace and hence removed. Note that this is also how
matlab behaves. The new cstrcat provides the previous behavior of
Octave's strcat.

Carnë


reply via email to

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