Erase this character ''←''

조회 수: 7(최근 30일)
Dimitrios Poulos
Dimitrios Poulos 2022년 4월 25일
댓글: Dimitrios Poulos 2022년 4월 25일
I cant not find a way to delete this ← char. Any help?
  댓글 수: 4
Dimitrios Poulos
Dimitrios Poulos 2022년 4월 25일
This is a text variable in a cell. This text was extracted from a mail. Unfortunately I cant share the mail.
My problem is that this strange charachters does not allow me to create a correct matrix with ''clear'' lines and it is mixing the final result. f.e: Mathworks had to be in column 6th and not under Matlab. I suppose that if I'll find a way to delete this char, my final matrix will be fine. I hope I gave more light about what I want to do.

댓글을 달려면 로그인하십시오.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2022년 4월 25일
편집: Fangjun Jiang 2022년 4월 25일
double('←')
ans = 8592
strrep({'←Matlab←←'},char(8592),'')
ans = 1×1 cell array
{'Matlab'}
strrep({'←Matlab←←'},'←','')
ans = 1×1 cell array
{'Matlab'}
  댓글 수: 1
Dimitrios Poulos
Dimitrios Poulos 2022년 4월 25일
@Fangjun Jiang Its working. Thanks a lot!!!

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by