Compare string in different file

1 次查看(过去 30 天)
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

采纳的回答

KSSV
KSSV 2016-9-26
doc strcmp and strcmpi

更多回答(1 个)

Ebtesam Almansor
Ebtesam Almansor 2016-9-27
= 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

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by