How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Ältere Kommentare anzeigen
How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Akzeptierte Antwort
Weitere Antworten (2)
Jan
am 24 Mai 2015
Or:
sum(isstrprop(string, 'alpha'))
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!