comparison scripts/strings/strtrunc.m @ 9036:58604c45ca74

Cleanup of data types related documentation Files: data.texi, numbers.texi, strings.texi, container.texi Use two spaces after a period for increased readibility in Info browser Spellcheck
author Rik <rdrider0-list@yahoo.com>
date Sat, 21 Mar 2009 15:52:41 -0700
parents eb63fbe60fab
children 1740012184f9
comparison
equal deleted inserted replaced
9035:57649dcecb55 9036:58604c45ca74
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 -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} strtrunc (@var{s}, @var{n}) 20 ## @deftypefn {Function File} {} strtrunc (@var{s}, @var{n})
21 ## Truncate the character string @var{s} to length @var{n}. If @var{s} 21 ## Truncate the character string @var{s} to length @var{n}. If @var{s}
22 ## is a char matrix, then the number of columns is adjusted. 22 ## is a char matrix, then the number of columns is adjusted.
23 ## 23 ##
24 ## If @var{s} is a cell array of strings, then the operation is performed 24 ## If @var{s} is a cell array of strings, then the operation is performed
25 ## on its members and the new cell array is returned. 25 ## on its members and the new cell array is returned.
26 ## @end deftypefn 26 ## @end deftypefn