Clear Filters
Clear Filters

Arabic suffix or prefix

1 view (last 30 days)
Ebtesam Almansor
Ebtesam Almansor on 6 Oct 2016
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 Comment
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam on 7 Oct 2016
Edited: Asad (Mehrzad) Khoddam on 7 Oct 2016
What version of Matlab do you have?
It works fine for me

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!