The string str is split with a comma ",". The split
string array is placed in a[]
. For example, if 111,222,333 is 111,222,333
, then a[0]=111 a[1]=222 a[2]=333
Equivalent to converting a string into an array