Highlights
关注


投票已结束

投票

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 个投票

Atanu Bera
Atanu Bera 2024-7-10
  • 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
Yue Huang
Yue Huang 2024-7-22
You almost got me
Rik
Rik 2024-7-10

Except that it is: doc page.

simon
simon 2024-7-9
I dont fu**ing know any of them, what's the correct answer?
Rik
Rik 2024-7-9
Why don't you read the documentation? Or just try each of them? Or choose to *not* comment with an expletive...
the cyclist
the cyclist 2024-5-17
The typo gave it away. :-)
DGM
DGM 2024-5-14
I only ever use maybe two of these, but even still, there was prominent suspect in the lineup.
Adam Danz
Adam Danz 2024-5-13
Great discoverability exercise!
Rik
Rik 2024-5-13
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.

标签

尚未输入任何标签。