last letter of a word
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
how to get last letter of a word in matlab.... that is if the word is "matlab7"... i want "7" ... please do reply
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 28 de Dic. de 2012
Editada: Azzi Abdelmalek
el 28 de Dic. de 2012
s='matlab7'
out=s(end)
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!