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 Fri 22-May-2009 15:13:00 by m2html © 2003