How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Mostra commenti meno recenti
How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Risposta accettata
Più risposte (2)
Jan
il 24 Mag 2015
Or:
sum(isstrprop(string, 'alpha'))
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!