投票已结束
投票
Which of the following is not a built-in string-checking function?
isstring
11%
ischar
7%
iscellstr
13%
isletter
21%
isspace
9%
ispunctuation
37%
2455 个投票
9 个评论
- ischar: Checks if an input is a character array.
- iscellstr: Checks if an input is a cell array of strings.
- isletter: Checks if each character of an input is a letter.
- isspace: Checks if each character of an input is a whitespace character.
- ispunctuation: Checks if each character of an input is a punctuation mark.
So isstring function is not a built-in string-checking function
I dont fu**ing know any of them, what's the correct answer?
The typo gave it away. :-)
I only ever use maybe two of these, but even still, there was prominent suspect in the lineup.
Great discoverability exercise!
I must admit there are two I don't know. In the interest of fairness and honesty I will register my vote first and then check the documentation.