if statement for string
Ältere Kommentare anzeigen
Say I have something like
word='example'
and letter='e'
I'm trying write a if state for example
if word contains letter
.......
elseif word doesn't have letter
....
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!