[ad_1]
var cnt = (thestring.Count(x => x == ',') + 1) / 4;
7
[ad_2]
solved Split on every fourth comma in a string and count
[ad_1]
var cnt = (thestring.Count(x => x == ',') + 1) / 4;
7
[ad_2]
solved Split on every fourth comma in a string and count