.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

Popular posts from this blog

c++ - rosrun via ssh doesnt start a node properly -

android - questions about switching from C2DM to GCM -

How to resolve Delphi error: Incompatible types: 'PWideChar' and 'Pointer' -