J = strjust(str)
J = strjust(str, side)
| Parameter | Description |
|---|---|
| str | characters vector, cell of characters or string array. |
| side | 'left', 'center', 'right' (default). |
| Parameter | Description |
|---|---|
| J | 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 |