octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40486] strcat documentation


From: Stan
Subject: [Octave-bug-tracker] [bug #40486] strcat documentation
Date: Wed, 06 Nov 2013 00:08:28 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?40486>

                 Summary: strcat documentation
                 Project: GNU Octave
            Submitted by: smoore
            Submitted on: Wed 06 Nov 2013 12:08:27 AM GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Stan
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Any

    _______________________________________________________

Details:

According to the docs:

s = [ "ab"; "cde" ];
      strcat (s, s, s)
        =>
         "ab ab ab "
         "cdecdecde"


but I don't see the spaces after "ab" 
IOW I see "ababab" vs "ab ab ab "

specifically:

octave:150> s = [ "ab"; "cde"];
octave:151> strcat(s,s,s)
ans =

ababab
cdecdecde


The actual results make sense but the docs seem wrong.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40486>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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