Left arrow symbol meaning

9 views (last 30 days)
Neda Moussavi
Neda Moussavi on 13 Apr 2022
Answered: Walter Roberson on 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 Comments
Star Strider
Star Strider on 13 Apr 2022
It would likely help to attach the .csv file. This could be an encoding problem.
Neda Moussavi
Neda Moussavi on 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]);

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!