I have string like below
IN ('Test 123','12345','163')
NOT IN ('Test 123','12345','163')
want to get like 'Test 123','12345','163' remove those IN and NOT IN and '(' and ')' using c#
I have string like below
IN ('Test 123','12345','163')
NOT IN ('Test 123','12345','163')
want to get like 'Test 123','12345','163' remove those IN and NOT IN and '(' and ')' using c#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Naimish MakwanaPosted Feb 3, 2023, 8:59 AM
Hi Jhon,
You can also use below code.
Thanks
Naimish
Sachin SinghPosted Feb 3, 2023, 8:55 AM
Easiest would be
Or better create one extension method
use above extension method as
or best one
Naimish MakwanaPosted Feb 3, 2023, 8:28 AM
Hello Jhon,
Use below code.
Thanks
Naimish