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

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

[Octave-bug-tracker] [bug #34123] strtrim no longer trims multilevel cel


From: Rik
Subject: [Octave-bug-tracker] [bug #34123] strtrim no longer trims multilevel cell arrays in some cases
Date: Mon, 19 Sep 2011 16:31:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Update of bug #34123 (project octave):

             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #8:

Hmm.  Are we chasing Matlab undocumented behavior?  

The documentation doesn't make it clear whether deblank and strtrim *should*
work on nested cellstrings or just objects for which iscellstr() returns true.
 I wonder if it varies by function whether the original programmer thought to
code for this case.  This would explain why strtrim works in this case and
strrep doesn't.

In any case, I will code the same fix used here for deblank and then we can
call it quits on Matlab compatibility for now.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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