private void SplitBySeparator(string separator, int lineIndex) { if (Line.TrimmedLine(lines[lineIndex]) == separator) { return; } string previousLine = null; if (lineIndex != 0) { previousLine = lines[lineIndex - 1]; } if (lines[lineIndex].Contains(separator)) { Split.InsertInsteadOf(lineIndex, ref lines, Split.DistinguishSeparator(separator, lines[lineIndex], previousLine)); } }