Site hosted by Angelfire.com: Build your free website today!

strcatp

PURPOSE ^

STRCATP Concatenate strings.

SYNOPSIS ^

function t = strcatp(varargin)

DESCRIPTION ^

STRCATP Concatenate strings.
   T = STRCAT(S1,S2,S3,...) horizontally concatenates corresponding
   rows of the character arrays S1, S2, S3 etc.  The trailing
   padding ARE NOT ignored.  All the inputs must have the same number of
   rows (or any can be a single string).  When the inputs are all 
   character arrays, the output is also a character array.
   
   T = STRCAT(S1,S2,...), when any of the inputs is a cell array of 
   strings, returns a cell array of strings formed by concatenating
   corresponding elements of S1,S2, etc.  The inputs must all have
   the same size (or any can be a scalar). Any of the inputs can 
   also be character arrays.

   Example
       strcat({'Red','Yellow'},{'Green','Blue'})
   returns
       'RedGreen'    'YellowBlue'

   See also STRVCAT, CAT, CELLSTR.

   AMENDED by PNath@London.edu 24-10-2000 to NOT IGNORE TRAILING BLANKS
   Copyright (c) 1984-98 by The MathWorks, Inc.
   $Revision: 1.11 $  $Date: 1998/06/23 16:27:06 $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004