How can I remove blank values from an array?
For example:
string[] test={"1","","2","","3"}; <
string[] test={"1","","2","","3"};
If you are using .NET 3.5+ you could use linq.
test = test.Where(x => !string.IsNullOrEmpty(x)).ToArray();