Borrar filtros
Borrar filtros

last letter of a word

1 visualización (últimos 30 días)
Elysi Cochin
Elysi Cochin el 28 de Dic. de 2012
how to get last letter of a word in matlab.... that is if the word is "matlab7"... i want "7" ... please do reply

Respuesta aceptada

Azzi Abdelmalek
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)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by