Avatar of Gani tpt
Gani tpt

asked on 

How to remove the particular symbol in a string

Hi,

I am using string which contains some values.

List<string> result = new List<string>();

result = "A1-B1-C1-D1-_F1";

when symbol "-_" found in the result string then it should take only or consider "_".

So the final string would be "A1-B1-C1-D1_F1"

How to replace...
C#LINQ Query

Avatar of undefined
Last Comment
AndyAinscow

8/22/2022 - Mon