.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# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -