- Aide Scilab
- Chaînes de caractères
- eval
- evstr
- string
- ascii
- blanks
- char
- convstr
- emptystr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- isnum
- justify
- length
- part
- regexp
- sci2exp
- strcat
- strchr
- strcmp
- strcmpi
- strcspn
- strindex
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
char
converts in a character array
Calling Sequence
y=char(x) y=char(st1,st2,st3,...)
Arguments
- x
a cell array of strings, or an array of ascii codes
- st1,st2,st3
arrays of strings
- y
a vector of strings (column)
Description
One input argument :
Given a cell of array of strings x
, this function
returns a vector of strings y
in which the rows are the
concatenated components of corresponding rows of the cell array of strings.
Given an array of ascii codes x
, this function
returns a array of strings y
corresponding into ascii
codes. If dimensions of x
are [n1,n2,n3,n4,...]
,
then returned value has same size as input value except second dimension, i.e.
the dimensions of y
are [n1,n3,n4,...]
.
More than one input argument :
Given arrays of strings st1,st2,st3,...
, this function
returns a vector of strings in which the rows are the concatenated
components of corresponding rows of st1,st2,st3,...
.
In the vector y
all strings sti
are completed by blanks to have the same length as the max length of
sti
.
Examples
Report an issue | ||
<< blanks | Chaînes de caractères | convstr >> |