.net - C# string replace "," with a linebreak (Enter) -
i have text string many ",". replace "," enter or linebreak. how can achieve this? thanks.
yourstring = yourstring.replace(",", system.environment.newline);
demo here https://dotnetfiddle.net/m2lbks
Comments
Post a Comment