strjust
Justify strings
Syntax
J = strjust(str)
J = strjust(str, side)
Input argument
str - characters vector, cell of characters or string array.
side - 'left', 'center', 'right' (default).
Output argument
J - justified text
Description
J = strjust(str, side) returns the text that is justified on the side specified by side.
Examples
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated