0 0 1
Compare str to a missing string. The comparison is always 0 (false), even when you
compare a missing string to another missing string.
str == string(missing)
ans = 1x3 logical array
0 0 0
To find missing strings, use the ismissing function. Do not use the == operator.
See Also
contains | endsWith | eq | erase | eraseBetween | extractAfter | extractBefore
| extractBetween | insertAfter | insertBefore | ismissing | replace |
replaceBetween | startsWith | string | strings | strlength
Related Examples
- “Create String Arrays” on page 6-12
- “Analyze Text Data with String Arrays” on page 6-24
- “Search and Replace Text” on page 6-54
- “Compare Text” on page 6-47
See Also