.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

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

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -