How to replace double quotes with two single quotes in string in MATLAB R2020 ?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Divyesh pandav
el 7 de Oct. de 2021
Comentada: Divyesh pandav
el 7 de Oct. de 2021
a = regexprep(' "C:\Users\User's PC\Desktop\note.txt" ' , ' " ' , ' ' );
a = regexprep(' "C:\Users\User's PC\Desktop\note.txt" ' , ' " ' , '');
0 comentarios
Respuesta aceptada
Walter Roberson
el 7 de Oct. de 2021
a = regexprep(' "C:\Users\User''s PC\Desktop\note.txt" ' , '"' , '''''' )
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!