How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Afficher commentaires plus anciens
How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Réponse acceptée
Plus de réponses (2)
Jan
le 24 Mai 2015
Or:
sum(isstrprop(string, 'alpha'))
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!