I accepted CPallini322 solution because it was the if (i % 3 == 2) that lead me to my own solution using string builder. Sorry for the delayed response I was on vacation.
string strMyTestMessage = "1,2,3,4,5,6,7,8,9,10,11,12,13";
string[] splitted = strMyTestMessage.Split(separator: new[] { "," }, count: 13, options: StringSplitOptions.None);
StringBuilder sb = new StringBuilder();
string strOutput;
for (int i = 0; i < 13; i++)
{
strOutput = splitted[i].ToString();
if (i % 3 == 2)
{
sb.Append(strOutput).Append("\n");
strOutput = "";
}
else
{
sb.Append(strOutput);
strOutput = "";
}
}
Console.WriteLine(sb.ToString());