[Solved] Split on every fourth comma in a string and count November 30, 2022 by Kirat var cnt = (thestring.Count(x => x == ',') + 1) / 4; 7 solved Split on every fourth comma in a string and count