the python aquivalent (something similar to this should be happening in the backgound) would be:
>>> myline = 'This line is a test, two, three, four, five, 6, seven'
>>> print(myline.split(',')[4], myline.split(',')[5], myline.split(',')[6])
five 6 seven
as you do not have an index 11 your concrete example makes no big sense in that regards.
I neither found the correct ansible syntax to translate that mentioned python logic into a TASK example like yours though.
maybe someone else here can help out with that