how to get last letter of a word in matlab.... that is if the word is "matlab7"... i want "7" ... please do reply

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 28 Déc 2012
Modifié(e) : Azzi Abdelmalek le 28 Déc 2012

1 vote

s='matlab7'
out=s(end)

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by