Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2025.1.0 - English


Strings

  • ascii — string ASCII conversions
  • blanks — create string of blank characters
  • char — converts in a character array
  • convstr — case conversion
  • emptystr — zero length string
  • evstr — evaluates Scilab expressions and concatenates their results
  • grep — find matches of a string in a vector of strings
  • isalphanum — check that characters of a string are alphanumerics
  • isascii — Tests if every character of given strings is 7-bit US-ASCII
  • isdigit — check that characters of a string are digits between 0 and 9
  • isletter — check that characters of a string are alphabetic letters
  • isnum — tests if a string represents a number
  • justify — Aligns the strings completed with spaces within each column, to the left, center or right
  • length — Number of characters of a string. Number of elements of an array or list.
  • part — Extraction of characters from strings
  • prettyprint — Converts a Scilab object into some corresponding LaTeX, TeX, MathML or HTML strings
  • regexp — in a string, locate (and extract) substrings matching a regular expression
  • sci2exp — returns a string able to generate a given Scilab object
  • strcat — concatenates character strings
  • strchr — find the first occurrence of a character in a string
  • strcmp — compare character strings
  • strcspn — lengths from the beginning of strings until a character among those prohibited
  • strindex — search position of a character string in another string
  • string — conversion to string
  • stripblanks — strips / trims leading or trailing or both blanks (and tabs) of strings
  • strncpy — copy the N first characters of the given strings
  • strrchr — find the last occurrence of a character in a string
  • strrev — Reverses the order of characters in the given strings
  • strsplit — split a single string at some given positions or patterns
  • strspn — lengths of the beginning of strings as long as characters are among those allowed
  • strstr — Tail of a string starting from the 1st occurrrence of a given fragment
  • strsubst — substitute a character string by another in a character string
  • strtod — parse and convert literal numbers STRings TO Decimal numbers
  • strtok — split string into tokens
  • tokenpos — returns the tokens positions in a character string
  • tokens — Splits a string using separators and gives its chunks
Report an issue
<< Parameters Scilab Help Sound file handling >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
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 22 12:51:00 CEST 2025