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

Change language to:
English - Français - Português

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

Scilab manual >> Strings > justify

justify

文字配列を整列.

呼び出し手順

Tj=justify(T,opt)

パラメータ

T

文字列の行列.

Tj

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

opt

指定可能な値を有する文字オプション

'r'

右揃えの場合は'right'

'l'

左揃えの場合は'left'

'c'

中央揃えの場合は'center'

説明

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

t=['1234','x','adfdfgdfghfgj'
   '1','354556','dgf'
   'sdfgd','','sdfsf'];

justify(t,'l')
justify(t,'c')
justify(t,'r')

参照

<< isnum Strings length >>

Copyright (c) 2022-2024 (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:
Wed Jan 26 16:25:13 CET 2011