Scilab 6.0.0
- Scilab Help
- Strings
- ascii
- asciimat
- blanks
- char
- convstr
- emptystr
- eval
- evstr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- isnum
- justify
- length
- part
- prettyprint
- regexp
- sci2exp
- strcat
- strchr
- strcmp
- strcmpi
- strcspn
- strindex
- string
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function
convstr
case conversion
Syntax
[y] = convstr(str, [flag])
Arguments
- str, y
a matrix of character strings.
- flag
a character option with possible values:
- 'u'
for upper;
- 'l'
for lower.
Description
The convstr
function converts the matrix of strings
str
into lower case (for flag
=
"l"
; default value) or upper case (for
flag
= "u"
).
Examples
A=['this','is';'my','matrix']; convstr(A,'u')
Report an issue | ||
<< char | Strings | emptystr >> |