comparison scripts/strings/strtrim.m @ 7346:40252ccfcb67

[project @ 2008-01-04 20:26:25 by jwe]
author jwe
date Fri, 04 Jan 2008 20:26:26 +0000
parents a1dbe9d80eee
children 693ac94c2854
comparison
equal deleted inserted replaced
7345:74075b3b54c1 7346:40252ccfcb67
1 ## Copyright (C) 1996, 2007 Kurt Hornik 1 ## Copyright (C) 1996, 2007, 2008 Kurt Hornik
2 ## 2 ##
3 ## This file is part of Octave. 3 ## This file is part of Octave.
4 ## 4 ##
5 ## Octave is free software; you can redistribute it and/or modify it 5 ## Octave is free software; you can redistribute it and/or modify it
6 ## under the terms of the GNU General Public License as published by 6 ## under the terms of the GNU General Public License as published by
14 ## 14 ##
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, see 16 ## along with Octave; see the file COPYING. If not, see
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- @deftypefn {Function File} {} deblank (@var{s}) 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} deblank (@var{s})
20 ## Remove leading and trailing blanks and nulls from @var{s}. If 21 ## Remove leading and trailing blanks and nulls from @var{s}. If
21 ## @var{s} is a matrix, @var{deblank} trims each row to the length of 22 ## @var{s} is a matrix, @var{deblank} trims each row to the length of
22 ## longest string. If @var{s} is a cell array, operate recursively on 23 ## longest string. If @var{s} is a cell array, operate recursively on
23 ## each element of the cell array. @end deftypefn 24 ## each element of the cell array.
25 ## @end deftypefn
24 26
25 ## Author: John Swensen <jpswensen@jhu.edu> 27 ## Author: John Swensen <jpswensen@jhu.edu>
26 28
27 ## This function was derived from deblank. 29 ## This function was derived from deblank.
28 30