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 Exchange에서 Get 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