Hi,
If you're looking for a split function for sql, I'm using the dbo.split udf that you can find codes at
http://www.kodyaz.com/forums/thread/489.aspx
You can use the dbo.split function like
select * from dbo.SPLIT('A udf for splitting strings',SPACE(1))