I have a text file like this :
testcaseZ : a, b, c
testcaseX : b,d
testcaseC : b
I want to have a string array like :
abcd
testcaseZ 1 1 1 0
testcaseX 0 1 0 1
testcaseC 0 1 0 0
I have a text file like this :
testcaseZ : a, b, c
testcaseX : b,d
testcaseC : b
I want to have a string array like :
abcd
testcaseZ 1 1 1 0
testcaseX 0 1 0 1
testcaseC 0 1 0 0
output is like: