<< strings | String type | strlength >> |
J = strjust(str) |
J = strjust(str, side) |
characters vector, cell of characters or string array.
'left', 'center', 'right' (default).
justified text
J = strjust(str, side) returns the text that is justified on the side specified by side.
S = ["a"; "ab"; "abc"; "abcd"];
J = strjust (S)
J = strjust (S, 'left')
J = strjust (S, 'center')
J = strjust (S, 'right')
J = strjust(' text', 'center')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET