Function Reference
— Function File: strtrunc (s, n)

Truncate the character string s to length n. If s is a char matrix, then the number of columns are adjusted.

If s is a cell array of strings, then the operation is performed on its members and the new cell array is returned.