MATLAB: About strings properties issstrprop

issstrprop

s= input('s: ');
isstrprop(s, 'alpha')
i wrote this code and it doesnt work. .How should i write. if i right Hello1234 as a input of s , i want to get 1 1 1 1 1 0 0 0 0 as an answer

Best Answer

You forgot the 's' switch with your call to input:
s= input('s: ','s');
isstrprop(s, 'alpha')