Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - 日本語


justify

文字配列を整列

呼び出し手順

Tj = justify(T, position)

引数

T

文字列の行列.

Tj

文字列の行列. 揃えられた結果

position

以下の値を指定できます:

'l'または'left': 左揃え
'c'または'center': 中央揃え
'r'または'right': 右揃え

説明

justify関数は, 指定したオプションpositionに基づき 文字列の行列の列を整列します.

t=['1234','x','adfdfgdfghfgj'
   '1','354556','dgf'
   'sdfgd','','sdfsf'];
justify(t,'l')
justify(t,'c')
justify(t,'r')

参照

  • length — オブジェクトの長さ
  • part — 文字列の展開
Report an issue
<< isnum Strings length >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Mar 07 09:28:51 CET 2023