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 Kommentar

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam am 7 Okt. 2016
Bearbeitet: Asad (Mehrzad) Khoddam am 7 Okt. 2016
What version of Matlab do you have?
It works fine for me

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by