I have a program where an array gets its data using string.Split(char[] delimiter). (using \';\' as delimiter.)
Some of the values, though, are null. I.e. the string
public static string[] nullLessArray(string[] src) { Array.Sort(src); Array.Reverse(src); int index = Array.IndexOf(src, null); string[] outputArray = new string[index]; for (int counter = 0; counter < index; counter++) { outputArray[counter] = src[counter]; } return outputArray; }