Left arrow symbol meaning

13 visualizzazioni (ultimi 30 giorni)
Neda Moussavi
Neda Moussavi il 13 Apr 2022
Risposto: Walter Roberson il 13 Apr 2022
I have a csv file where there are each new line looks like this (the highlighted portion):
In MatLab, that line looks like this:
How do I get rid of that left pointing arrow and have all the text on the right side of it be moved to a new line?
please help asap!
  2 Commenti
Star Strider
Star Strider il 13 Apr 2022
It would likely help to attach the .csv file. This could be an encoding problem.
Neda Moussavi
Neda Moussavi il 13 Apr 2022
This is what I've done so far after reading in the file:
textData = replace(textData, ".","");
textData = replace(textData, '"','');
textData = replace(textData, ", "," ");
textData = replace(textData, newline, " ");
textData = split(textData,[newline newline]);

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 13 Apr 2022
It is a carriage return (char(13))
Use regexp() 'split'

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by