Hi,
I'm trying to remove some characters from my text string below, with Right I can remove the word CONTAINS(', How can I remove with the same query the characters ') on the end of the string.
CONTAINS('"court" OR "judicial" OR "case number"')
select Right(POL_QUERY, len(POL_QUERY)-CharIndex('''', POL_QUERY))
from STH_POLICY
I need only this part of the string "court" OR "judicial" OR "case number"
PS: the string has different length
Thanks,
/Navmen
I'm trying to remove some characters from my text string below, with Right I can remove the word CONTAINS(', How can I remove with the same query the characters ') on the end of the string.
CONTAINS('"court" OR "judicial" OR "case number"')
select Right(POL_QUERY, len(POL_QUERY)-CharIndex('''', POL_QUERY))
from STH_POLICY
I need only this part of the string "court" OR "judicial" OR "case number"
PS: the string has different length
Thanks,
/Navmen