I'm trying to comma delimit a string into rows. I made 9 columns to populate because that's the maximum amount of values that are in the string (seperated by commas and a space)
For each string formatted like: 'v1, v2, v3, v4, v5, ..., v9' I:
replace(string, ', ', '.')
Then on this resulting string (I'll call string2) I:
ParseName(string2, 1) as v1
ParseName(string2, 2) as v2
....
ParseName(string2, 9) as v9
Since ParseName only works on the first 4 values it fails if I try to use it on a string with >4 values.
Is there another function or workaround any of you suggest?