find element egual to substring in array string
이전 댓글 표시
c=["A1_asd";"A2_rrd";"A_dj";"B1_gre";"B2_rffe";"B3_rffe"]
%i want to catch string before letter_ and search member
%find all member egual to A in c;
%find all member egual to B in c;
result:
["A1_asd";"A2_rrd";"A_dj"]
["B1_gre";"B2_rffe";"B3_rffe"]
채택된 답변
추가 답변 (0개)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!