Yes you are right, I confused my self with the original typo which was
SELECT REPLACE(@sample,' ','')
(replacing with nothing)
So sorry about that.
At least the function fn_Cleanup works fine 🙂
Cheers
C# Gnu
____________________________________________________