There is an array of characters e.g.
char [] biggerText = new char [8];
then I input some values likewise:
biggerText[0] = (char) 12;
biggerText[1] = (char) 48;
then I use the following operation:
string smallerText= string.Join("", biggerText);
and when you perform smallerText.Length you get 8 and NOT 2.
What is the most effective method to trim this array to omit the null values when converting to string?