try the below code,
DECLARE @OrderList varchar(4000)
DECLARE @OrderID varchar(10), @Pos int
SET @OrderList = 'Item1, Item2, Item3, Item4'
SET @OrderList = LTRIM(RTRIM(@OrderList))+ ','
SET @Pos = CHARINDEX(',', @OrderList, 1)
IF REPLACE(@OrderList, ',', '') <> ''
BEGIN
WHILE @Pos > 0
BEGIN
SET @OrderID = LTRIM(RTRIM(LEFT(@OrderList, @Pos - 1)))
IF @OrderID <> ''
BEGIN
--the below statement will display the values one by one , you can manipulate the value here however you want
SELECT @OrderID
END
SET @OrderList = RIGHT(@OrderList, LEN(@OrderList) - @Pos)
SET @Pos = CHARINDEX(',', @OrderList, 1)
END
END
I took the code from a site and modified it a bit, hope it helps! you can get lot of sample snippets when you google for it, just FYI.