Home > freetb4matlab > strings > strcat.m

strcat

PURPOSE ^

% Return a string containing all the arguments concatenated

SYNOPSIS ^

function st = strcat (varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} strcat (@var{s1}, @var{s2}, @dots{})
% Return a string containing all the arguments concatenated
% horizontally.  If the arguments are cells strings,  @code{strcat}
% returns a cell string with the individual cells concatenated.
% For numerical input, each element is converted to the
% corresponding ASCII character.  Trailing white space is eliminated.
% For example,
%
% @example
% @group
% s = [ 'ab'; 'cde' ];
% strcat (s, s, s)
%      @result{} ans =
%         'ab ab ab '
%         'cdecdecde'
% @end group
% @end example
%
% @example
% @group
% s = @{ 'ab'; 'cde' @};
% strcat (s, s, s)
%      @result{} ans =
%         @{
%           [1,1] = ababab
%           [2,1] = cdecdecde
%         @}
% @end group
% @end example
%
% @seealso{cstrcat, char, strvcat}
% @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