HI
the code below is aiming to remove Arabic prefix but there is erroe
str = native2unicode('اليومين','UTF-8');
prefix=native2unicode( 'ال','UTF-8'); % The prefix to remove
suffix = 'ين'; % The suffix to remove
str = strrep(str,prefix, '')

1 件のコメント

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam 2016 年 10 月 7 日
編集済み: Asad (Mehrzad) Khoddam 2016 年 10 月 7 日
What version of Matlab do you have?
It works fine for me

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

タグ

質問済み:

2016 年 10 月 6 日

編集済み:

2016 年 10 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by