strcat function - concatenationthe strcat


Strcat function - Concatenation:

The strcat function, though, will eliminate the trailing blanks from strings before concatenating. Note that in these illustrations, the trailing blanks from str1 are eliminated, while the leading blanks from str2 are not:

>> strcat(str1,str2)

ans =

xxx   yyy

>> length(ans)

ans =

9

>> strcat(str2,str1)

ans =

   yyyxxx

>> length(ans)

ans =

9

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: strcat function - concatenationthe strcat
Reference No:- TGS0175073

Expected delivery within 24 Hours