Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - 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) > isdigit

isdigit

checa se os caracteres de um string são números entre 0 e 9

Seqüência de Chamamento

res = isdigit(str)

Parâmetros

str

string

res

matriz de valores booleanos

Descrição

res = isdigit(str) retorna um array com mesmo tamanho que str com valores %T (verdadeiro) onde os elementos de str são dígitos de 0 a 9 e %F (falso) onde eles não são.

Exemplos

s = 'A1,B2,C3';
isdigit(s)

Ver Também

  • isalphanum — verifica se os caracteres de um string são alfanuméricos
  • isletter — verifica se os caracteres de um string são letras do alfabeto
<< isascii Cadeias de Caracteres (Strings) isletter >>

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:
Thu May 12 11:45:27 CEST 2011