StringPartGet

Get a specific part of a character separated string.

exec: 
select dbo.StringPartGet ('value1,value2,value3,value4',',',2)
result:
value2