Knowledge Base

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

Only registered users may post comments.