I have a string of comma separated values that I'd like to split into several pieces based on the number of commas.
E.g.: Split the following string every 5 values or commas:
txt = "120923,120417,120416,105720,120925,120790,120792,120922,120928,120930,120918,120929,61065,120421"
The result would be:
[1] 120923,120417,120416,105720,120925
[2] 120790,120792,120922,120928,120930
[3] 120918,120929,61065,120421