combine two regexprep into one
Afficher commentaires plus anciens
Hi, I was wondering if I can reduce the two lines of code into one? Thank you
selected = regexprep(selected, ' ',' ');
selected = regexprep(selected, '<.*?>','');
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 3 Juin 2013
1 vote
Why bother?
That works and is likely easier to understand!
1 commentaire
Vincent I
le 3 Juin 2013
Catégories
En savoir plus sur Language Fundamentals dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!