Package: matlab.unittest.constraints
Comparator for two strings or character arrays
StringComparator
creates
a comparator for two strings or character arrays. The comparator is
satisfied if the two values are equal.
StringComparator(
creates
a comparator with additional options specified by one or more Name,Value
)Name,Value
pair
arguments.
Specify optional comma-separated pairs of Name,Value
arguments.
Name
is the argument
name and Value
is the corresponding
value. Name
must appear
inside single quotes (' '
).
You can specify several name and value pair
arguments in any order as Name1,Value1,...,NameN,ValueN
.
|
Indicator if the comparator is insensitive to case, specified
as Default: |
|
Indicator if the comparator is insensitive to whitespace characters,
specified as Default: |
|
Indicator if the comparator is insensitive to case, specified
in the name-value pair argument, |
|
Indicator if the comparator is insensitive to whitespace characters,
specified in the name-value pair argument, |
Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB® documentation.