combine two regexprep into one
Ältere Kommentare anzeigen
Hi, I was wondering if I can reduce the two lines of code into one? Thank you
selected = regexprep(selected, ' ',' ');
selected = regexprep(selected, '<.*?>','');
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 3 Jun. 2013
1 Stimme
Why bother?
That works and is likely easier to understand!
1 Kommentar
Vincent I
am 3 Jun. 2013
Kategorien
Mehr zu Language Fundamentals 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!