I have this string on one of the columns on my database table
black lines^TECH43223
I need to split the string, and this is my code to split the string
Select LTRIM(SUBSTRING(Complaint, CHARINDEX('^',Complaint)+1, len(Complaint))) from Service
and the result is
TECH43223
But what I need is that string "black lines". Can I split the string, and get the first value?