public void CutArray() { string temp2 = string.Empty; temp = new string[lines.Length]; for (int i = 0; i < temp.Length; i++) { if (lines[i] == '>') { temp[loops] = temp2; loops++; temp2 = string.Empty; } else { temp2 += lines[i]; } } }