How to replace double quotes with two single quotes in string in MATLAB R2020 ?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Divyesh pandav
le 7 Oct 2021
Commenté : Divyesh pandav
le 7 Oct 2021
a = regexprep(' "C:\Users\User's PC\Desktop\note.txt" ' , ' " ' , ' ' );
a = regexprep(' "C:\Users\User's PC\Desktop\note.txt" ' , ' " ' , '');
0 commentaires
Réponse acceptée
Walter Roberson
le 7 Oct 2021
a = regexprep(' "C:\Users\User''s PC\Desktop\note.txt" ' , '"' , '''''' )
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Characters and Strings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!