strjust
Justify strings
Description
newStr = strjust(
returns a right-justified
version of the text in str
)str
.
If
str
has trailing whitespace characters, then they become leading whitespace characters innewStr
.If
str
does not have trailing whitespace characters, thenstrjust
returnsstr
unaltered.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced before R2006a