Unpacking serial data from arduino

so does this" index1 = val.indexOf(",");" find the first comma or all of them?