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 18:12:17 +0100

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ë


reply via email to

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