Scilab 5.4.1
- Aide Scilab
- Chaînes de caractères
- asciimat
- 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.
However, this page did not exist in the previous stable version.
strcmpi
compare character strings (case independent)
Calling Sequence
res = strcmpi(string_one, string_two)
Arguments
- string_one
a character string or matrix of character strings.
- string_two
a character string or matrix of character strings.
- res
a matrix of integers.
Description
res = strcmpi(string_one, string_two)
returns an
integral value indicating the relationship between the strings.
The value is 0
if string_one
is equal to string_two
(case independently) and
1
indicates the opposite.
Examples
TXT1 = ['scilab','SciLab';'Strcmp','STRcmp']; TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP']; strcmpi(TXT1,TXT2) strcmpi(TXT1,'scilab')
Report an issue | ||
<< strcmp | Chaînes de caractères | strcspn >> |