Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 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 do Scilab >> Scilab > types > strings

strings

objeto Scilab, strings (cadeias de caracteres)

Descrição

Strings são definidos como 'string' (entre aspas simples) ou "string" (entre aspas duplas); matrizes de strings são definidascomo matrizes constantes, como de uso.

A concatenação de dois strings é feita por -+ : string1+string2.

Exemplos

['esta','é'; 'uma matriz','2x2']
"matrix"=="mat"+"rix"

Ver Também

  • part — extração de strings
  • length — Número de caracteres de um texto. Número de elementos de uma matriz ou lista.
  • strcat — concatena strings
Report an issue
<< rational types type >>

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:
Mon Jan 03 14:35:18 CET 2022