|
From: | Ben Abbott |
Subject: | [Octave-bug-tracker] [bug #34123] strtrim no longer trims multilevel cell arrays in some cases |
Date: | Sat, 17 Sep 2011 01:35:42 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1 |
Update of bug #34123 (project octave): Assigned to: None => bpabbott _______________________________________________________ Follow-up Comment #1: I tested the example with Matlab >> aa = {' 123 ',{' fg'}} aa = ' 123 ' {1x1 cell} >> b = strtrim (aa) b = '123' {1x1 cell} >> b{2} ans = 'fg' I've attached a changeset. It looks a bit inelegant to me. Is there a better way? (file #23982) _______________________________________________________ Additional Item Attachment: File name: changeset.patch Size:1 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34123> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |