Home > freetb4matlab > strings > strtrunc.m

strtrunc

PURPOSE ^

% Truncate the character string @var{s} to length @var{n}. If @var{s}

SYNOPSIS ^

function s = strtrunc (s, n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} strtrunc (@var{s}, @var{n})
% Truncate the character string @var{s} to length @var{n}.  If @var{s}
% is a char matrix, then the number of columns is adjusted.
%
% If @var{s} is a cell array of strings, then the operation is performed
% on its members and the new cell array is returned.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003