How to replace new line with white space in text documents
34 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Fateme Jalali
am 31 Jan. 2016
Kommentiert: Andrew Mohan
am 17 Jan. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!