Hi All,
I am working with a feed from Google Analytics and am trying to parse some data. Sample data is attached (in Excel, though I prefer to keep in Access). Important points:
1) I have a field ("dimension") with titles that are comma delimited that I need to parse into separate fields. There is also a pipe delimited field that could be used.
2) The number of titles that need to be parsed can vary from 1 to many. The sample data has country/city but other times it may be continent/country/city/zip or even other dimensions
3) Files can be fairly large…..10-50k records
4) This is for a tool that others will use and must process on the fly
I have tried using the getpart function that I have seen out there and it works, but this relies on knowing the number of fields you are parsing into ahead of time. I was thinking maybe I could write a function that counts the commas, then loops through the field string parsing into the desired number of fields. Is there a better way? Any ideas woulld be greatly appreciated! Thanks!