How to replace new line with white space in text documents
24 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Fateme Jalali
il 31 Gen 2016
Commentato: Andrew Mohan
il 17 Gen 2018
Hello,I am trying to change all new lines in my database with white space,but codes does not work.can any one help me please.Data base is attached.
test1 = fileread('part1.txt');
newTest = sprintf(strrep(test1, '\n', ' '))
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Database Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!