comparison scripts/strings/deblank.m @ 5428:2a16423e4aa0

[project @ 2005-08-23 18:38:27 by jwe]
author jwe
date Tue, 23 Aug 2005 18:38:28 +0000
parents 4c8a2e4e0717
children ec8c33dcd1bf
comparison
equal deleted inserted replaced
5427:a92afe70fb8d 5428:2a16423e4aa0
22 ## Removes the trailing blanks and nulls from the string @var{s}. 22 ## Removes the trailing blanks and nulls from the string @var{s}.
23 ## If @var{s} is a matrix, @var{deblank} trims each row to the 23 ## If @var{s} is a matrix, @var{deblank} trims each row to the
24 ## length of longest string. 24 ## length of longest string.
25 ## @end deftypefn 25 ## @end deftypefn
26 26
27 ## Author: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> 27 ## Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
28 ## Adapted-By: jwe 28 ## Adapted-By: jwe
29 29
30 function t = deblank (s) 30 function t = deblank (s)
31 31
32 if (nargin != 1) 32 if (nargin != 1)