[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: |
Ben Abbott |
Subject: |
Re: 'strcat' is broken (spaces are ignored) in octave-3.6.2 ? |
Date: |
Thu, 28 Jun 2012 13:58:46 -0400 |
On Jun 28, 2012, at 1:12 PM, Carnë Draug wrote:
> On 28 June 2012 17:46, Sergei Steshenko <address@hidden> wrote:
>> ----- Original Message -----
>>> From: Carnë Draug <address@hidden>
>>> To: Sergei Steshenko <address@hidden>
>>> Cc: octave help mailing list <address@hidden>
>>> Sent: Thursday, June 28, 2012 7:15 PM
>>> Subject: Re: 'strcat' is broken (spaces are ignored) in octave-3.6.2 ?
>>>
>>> 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.
>>>
>> If I misread 'help strcat' help message, can you show me _exactly_ which
>> words in it I misread or misinterpreted ?
>
> Errrr... These ones "Trailing white space is eliminated." This
> trailing white space refers to the trailing whitespace of each input
> element.
>
> Carnë
Admittedly this is a ambiguous.
How about -> "Trailing white space of each input is eliminated."
If acceptable, I can push a changetset.
Ben