Need help to do a simple task in sql string in my table there is a field comment(user comments).
In my procedure, I am passing a parameter @input. I want to check whether the string contains the string @input, and if it contains @input then add some style to the substring(that same as @input).
eg: if the Comment string like - "i have added the user Test user" and
@input - "tes"
I want the output as
i have added the user <span style="color:red">Tes</span>t user