Use help isstrprop to find out what properties can be tested; try some of them on a string variable
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:7| Question number:31.7
All Answers
total answers (1)
>> let = 'x';
>> word = 'hi123';
>> isstrprop(let,'alpha')
ans =
1
>> isstrprop(word,'alpha')
ans =
1 1 0 0 0
>> isstrprop(word,'alphanum')
ans =
1 1 1 1 1
need an explanation for this answer? contact us directly to get an explanation for this answer