Check if string contains any matches in a string array
string med="TESTSTRIPS, LANCETS, ETOH SWABS #100";
string[] items = { "TESTSTRIPS", "GLUCOMET" };
bool isneed_referal = items.Any(c => med.Contains(c));
Cảm ơn đời mỗi sớm mai thức dậy
Ta có thêm ngày nữa để yêu thương
KAHLIL GIBRAN (1883-1931)
No comments:
Post a Comment