• Login

Snippets

23

String = "MyWord,AnotherWord,TheEnd"

String = Regex.Replace(String, "(?<=,)(?!\\s)", " ");

Value of the string is now . . . . .

String = "MyWord, AnotherWord, TheEnd"

Posted in: C Sharp - C#

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Name (required)

Email (required)

Website