Azzera filtri
Azzera filtri

Compare string in different file

1 visualizzazione (ultimi 30 giorni)
Ebtesam Almansor
Ebtesam Almansor il 26 Set 2016
Risposto: Ebtesam Almansor il 27 Set 2016
Hi there I need matlab code to compare the input word with list (for example if the input word is BRB which is abbrivation )I want to search for BRB in Abbrivation list and replace it with the full stanser word

Risposta accettata

KSSV
KSSV il 26 Set 2016
doc strcmp and strcmpi

Più risposte (1)

Ebtesam Almansor
Ebtesam Almansor il 27 Set 2016
= input('what is your name: ', 's');
str=native2unicode(n,'UTF-8');
c=strsplit(n); %tokenizer
%h=strfind('. ',c); % find this string
x = strmatch('لا',c);
TF = contains(c,'ا'); matches = c(TF);
help me with is please

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by