Scilab 6.0.0
- Ajuda do Scilab
- Cadeias de Caracteres (Strings)
- ascii
- blanks
- char
- convstr
- emptystr
- eval
- evstr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- isnum
- justify
- length
- part
- regexp
- sci2exp
- strcat
- strchr
- strcmp
- strcmpi
- strcspn
- strindex
- string
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
- asciimat
Ajuda do Scilab >> Cadeias de Caracteres (Strings) > justify
justify
justifica um array de caracteres
Seqüência de Chamamento
Tj=justify(T,opt)
Parâmetros
- T
matriz de strings
- Tj
matriz de strings. O resultado justificado
- opt
opção com possíveis valores
- 'r'
ou 'right' para justificação direita
- 'l'
ou 'left' para justificação esquerda
- 'c'
ou 'center' justificação centrada
Descrição
justify
justifica a coluna de uma matriz de
strings de acordo com a opção dada.
Exemplos
t=['1234','x','adfdfgdfghfgj' '1','354556','dgf' 'sdfgd','','sdfsf']; justify(t,'l') justify(t,'c') justify(t,'r')
Comments
Add a comment:
Please login to comment this page.