How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Mostrar comentarios más antiguos
How can I find the number of letters in a string? Just letters (A-Z, a-z)?
Respuesta aceptada
Más respuestas (2)
yashar khatib shahidi
el 23 de Mayo de 2015
0 votos
1 comentario
Star Strider
el 23 de Mayo de 2015
My pleasure!
Jan
el 24 de Mayo de 2015
Or:
sum(isstrprop(string, 'alpha'))
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!