Reduce string length after check, with one line
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Veronica Taurino
am 27 Aug. 2020
Kommentiert: Veronica Taurino
am 27 Aug. 2020
Hello!
I would like to reduce a string length after a check on the length itself, with one command. Is it possible? Something like:
x=x(length(x)>5)(1:5)
Thank you!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!