awk empty fields

Hello

I have a file like this

a,b,c,1,2,3,d,e,f,,,,g,h,i,,,,j,k,l

and

using awk 'FS="'"{print $9,$10,$11}'

does not work as I was hoping. I would like the empty fieds, i.e. between the two comma to be interpreted as a zero. is this possible?

I would like to get

f 0 0

out of the above ask command

Any ideas?

+0 casts to an number.

awk -F, '{print $9+0,$10+0,$11+0}'

Just seeing it's a mixture of text and 0.
Then try a ternary (value if)

awk -F, '{print ($9!="" ? $9 : 0),($10!="" ? $10 : 0),($11!="" ? $11 : 0)}'