SUBSTRING(LEFT(shortnote, CHARINDEX('Additional Comments:', shortnote)),
CHARINDEX('Patient Instructions:', shortnote) + LEN('Patient Instructions:'),LEN(shortnote))
I'm getting the result with a bit of space and the letter A from 'Additional Comments' in all of the result.
How can i get rid of that extra letter. I don't mind any space i just want to get rid of the extra letter. The value I'm getting is between patient instructions and additional comments
Thank You