I just realized I forgot to include my Split function.
Its just a function to split a string, just like in javascript or another language.
So I managed to put it to work in SQL Fiddle (without the performance test, for obvious reasons)
http://sqlfiddle.com/#!6/908d3/1
Just a little rant:
if you cannot put it to work, you re not even trying 😎