its unshared edges pieces prim names
and I generated a string array which has 3 unique names out of them
after that I tried to use like this
string loop[] = detail(0,'split_names'); //created array of unique strings from unshared names for(int i=0;i<len(loop);i++ ){ string name = loop[i]; if(match(name,s@name)==1){ //here I experimented multiple formatting like match(`name`*,s@name) match("`name`*",s@name) not worked i@choosen=1; } }
or do we have any other functions those can match patterns from an array of strings or other attributes
string loop[] = detail(0,'split_names'); for(int i=0; i<len(loop);i++ ){ string name = loop[i]; if(match(sprintf('%s*',name), s@name)==1){ i@choosen=1; } //printf('%s\n',name); }
