help-octave
[Top][All Lists]
Advanced

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

strcat docs


From: Stan Moore
Subject: strcat docs
Date: Thu, 31 Oct 2013 10:19:45 -0400

Is the documentation for strcat wrong?

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. I didn't file a bug
report because I wanted to probe the universe to see if I'm missing
something before I submit a bogus bug with a release in the works.



reply via email to

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