diff NEWS @ 12981:4ec4096f65d1

doc: State that required input is cellstr, not cell, for strtrim and deblank (Bug #34038) NEWS: Note incompatible changes to certain string functions since 3.4.2 deblank.m, strtrim.m: Document that cellstr, not cell, is required input.
author Rik <octave@nomad.inbox5.com>
date Sun, 21 Aug 2011 21:44:39 -0700
parents fe6e2afcd9ee
children 7aa9cb7aaa32
line wrap: on
line diff
--- a/NEWS	Fri Aug 19 12:39:55 2011 -0500
+++ b/NEWS	Sun Aug 21 21:44:39 2011 -0700
@@ -12,6 +12,16 @@
     * ML-compatible options: 'whitespace', treatasempty',
     format string repeat count, user-specified comment style, uneven-length
     output arrays, %n and %u conversion specifiers (provisionally)
+
+ ** Certain string functions have been modified for greater Matlab compatibility
+    and for 15X greater performance when operating on cell array of strings.
+
+    deblank : Now requires character or cellstr input
+    strtrim : Now requires character or cellstr input.
+              No longer trims nulls ("\0") from string for ML compatibility.
+    strmatch: Follows documentation precisely and ignores trailing spaces
+              in pattern and in string.  Note that Matlab documents this 
+              behavior but the implementation does *not* always follow it.
  
  ** New functions added.