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.