Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Omit specific string from a given string

$
0
0
Hi,

I need to omit some specific stng in a given string, Here is an example.

Declare @Original varchar(100)
Declare @Omit Varchar(25)
Set @Original = 'Globe is sphere, Box is Square, Ring is circle, Globe is sphere'
Set @omit = 'Globe is sphere'

I need result as "Box is Square, Ring is circle" Only

Please help me to bring the result.

Regards,
Fazlu

Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>