How did you import the file? If you import the file with BULK INSERT, you can specify FORMAT=CSV, and BULK INSERT will nice divide the files into columns.
The operation you suggest is definitely nothing I would like to do in in T-SQL. It is not well-equipped for advanced string manipulation.