for one, in the future, try normalizing your data and not storing lists of values in 1 column.What do you want to return? a set of results, or 1 string of results?if it's 1 string, just write a user-defined function. Loop through the string, take the first letter A-Z, and then after that take the first letter immediately following the semi-colons the rest of the way.pseudo-code:result = '' -- what you are returningpos=1 -- current position in the stringSemi-Colon= 1 -- semi-colon flag; 1 or 0while pos <= len(StringToParse) Letter = mid(stringToParse,pos,1) if Letter like '[a-z]' if SemiColon = 1 Result = Result + '; ' + Letter end if SemiColon = 0 end if if Letter = ';' SemiColon = 1 Else SemiColon = 0 End if Pos = Pos + 1LoopResult = mid(result,3)
something like that ... obviously not tested- Jeff