Arabic suffix or prefix

1 次查看(过去 30 天)
Ebtesam Almansor
Ebtesam Almansor 2016-10-6
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
What version of Matlab do you have?
It works fine for me

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by