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

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Strings > justify

justify

文字配列を整列

呼び出し手順

Tj = justify(T, opt)

引数

T

文字列の行列.

Tj

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

opt

文字オプション,以下の値を指定できます:

'r'または'right'

右揃え

'l'または'left'

左揃え

'c'または'center'

中央揃え

説明

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

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 Feb 25 08:53:23 CET 2020