combine two regexprep into one
Mostra commenti meno recenti
Hi, I was wondering if I can reduce the two lines of code into one? Thank you
selected = regexprep(selected, ' ',' ');
selected = regexprep(selected, '<.*?>','');
Risposta accettata
Più risposte (1)
Sean de Wolski
il 3 Giu 2013
1 voto
Why bother?
That works and is likely easier to understand!
1 Commento
Vincent I
il 3 Giu 2013
Categorie
Scopri di più su Language Fundamentals in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!