Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

strjust

Justify string or character array

Syntax

T = strjust(S)
T = strjust(S, 'right')
T = strjust(S, 'left')
T = strjust(S, 'center')

Description

T = strjust(S) or T = strjust(S, 'right') returns a right-justified version of the text in S. The input argument S can be a character vector, a cell array of character vectors, or a string array.

T = strjust(S, 'left') returns a left-justified version of S.

T = strjust(S, 'center') returns a center-justified version of S.

See Also

|

Introduced before R2006a

Was this topic helpful?