Reputation: 49
I have a field that contains a variety of text values that occasionally have a consistent string appended to the end of the field.
Example field values: Part One Part Two - New Part Three - New Part Four
I need to query that field but strip off the "- New" from the result.
What I need returned: Part One Part Two Part Three Part Four
Upvotes: 0
Views: 26
Reputation: 1662
are you looking for something like select replace('Part One Part Two - New Part Three - New Part Four', '- New','');
Upvotes: 1