- Scilab Online Help
- Strings
- ascii
- blanks
- code2str
- convstr
- emptystr
- eval
- evstr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- isnum
- justify
- length
- part
- regexp
- sci2exp
- str2code
- strcat
- strchr
- strcmp
- strcmpi
- strcspn
- strindex
- string
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
- tree2code
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
string
conversion to string
Calling Sequence
string(x) [out,in,text]=string(x)
Arguments
- x
- Boolean, complex, real, integer, polynomial matrix, or function 
Description
converts a matrix into a matrix of strings.
If x is a function  [out,in,text]=string(x)  returns
    three vectors strings : out is the vector of output variables,
    in is the vector of input variables, and text is
    the (column) vector of the source code of the function.
If  x is a lib variable, text is a character string column
    vector. The first element contains the path of library file and the 
    other the name of functions it defines.
Character strings are defined as 'string' (between quotes) or
    "string" (between doublequotes);
    matrices of strings are defined as usual constant matrices.
Concatenation of strings is made by the + operation.
Examples
| << strindex | Strings | strings >> |