Borrar filtros
Borrar filtros

Arabic suffix or prefix

1 visualización (últimos 30 días)
Ebtesam Almansor
Ebtesam Almansor el 6 de Oct. de 2016
Editada: Asad (Mehrzad) Khoddam el 7 de Oct. de 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 comentario
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam el 7 de Oct. de 2016
Editada: Asad (Mehrzad) Khoddam el 7 de Oct. de 2016
What version of Matlab do you have?
It works fine for me

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by