Azzera filtri
Azzera filtri

last letter of a word

1 visualizzazione (ultimi 30 giorni)
Elysi Cochin
Elysi Cochin il 28 Dic 2012
how to get last letter of a word in matlab.... that is if the word is "matlab7"... i want "7" ... please do reply

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 28 Dic 2012
Modificato: Azzi Abdelmalek il 28 Dic 2012
s='matlab7'
out=s(end)

Più risposte (0)

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by