Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - Português

Change language to:
English - Français - 日本語 -

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

Ajuda Scilab >> Cadeias de Caracteres (Strings) > stripblanks

stripblanks

retira espaços em branco (e tabulações) no início ou no fim de strings

Seqüência de Chamamento

txt=stripblanks(txt[,tabs])

Parâmetros

txt

um string ou uma matriz de strings

tabs

se TRUE, retira também tabulações (o valor padrão é FALSE)

Descrição

stripblanks retira espaços em branco (e tabulações) no início ou no fim de strings.

Exemplos

a='  123   ';
'!'+a+'!'
'!'+stripblanks(a)+'!'
a=['  123   ',' xyz']
strcat(stripblanks(a))
<< strings Cadeias de Caracteres (Strings) strncpy >>

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:
Wed Oct 05 12:11:53 CEST 2011