Erase this character ''←''

13 ビュー (過去 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 件のコメント
Stephen23
Stephen23 2022 年 4 月 25 日
編集済み: Stephen23 2022 年 4 月 25 日
"I cant not find a way to delete this ← char"
From what ?
Do you have that character in a document or file (if so, what file format)?
Do you have the character in a MATLAB variable (if so, what class)?
Have you checked if the character is actually present in the text and is not just an artifact of how the text is displayed?
Basically you have not explained enough for us to meaningfully help you. If you want more help, upload your sample data file (or MATLAB variable in a .mat file) by clicking the paperclip button.
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 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by