Highlights
Follow


Poll is CLOSED

Poll

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 votes

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

Except that it is: doc page.

simon
simon on 9 Jul 2024
I dont fu**ing know any of them, what's the correct answer?
Rik
Rik on 9 Jul 2024
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 on 17 May 2024
The typo gave it away. :-)
DGM
DGM on 14 May 2024
I only ever use maybe two of these, but even still, there was prominent suspect in the lineup.
Adam Danz
Adam Danz on 13 May 2024
Great discoverability exercise!
Rik
Rik on 13 May 2024
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.

Tags

No tags entered yet.