In a previous MSSQL life, I had a handy function to split strings into a table output.
select * from [util].[SplitDualMaxChar](\'apples;bananas|pears;oranges\