2
Reply

Array problem with regex

yokzu

yokzu

Jan 26 2013 10:03 AM
968
Hi,
I have an array with 50 members like below;

string[] strArray1 = new string[] { "asd12","qwe12","asd133","aqwe11","asd44" };

Then I want to filter members which start with "asd" and to add another array;

string[] strArray2 = new string[] { "asd12","asd133","asd44" };

How can I do that?

Answers (2)