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 byside.

💡 Examples

🔗 See also

blanks.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?