Knowledge Base

Snippets

25

public string AddSpaceAfterComma(string myInput)

{

try

{

String text = myInput.ToString();



text = Regex.Replace(text, @",(?!\s)", x => x + " ");



return text;

}

catch (Exception ex)

{

Exceptions.ProcessModuleLoadException(this, ex);



return "";

}

}

Posted in: C Sharp - C#

Comments

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

Post Comment

Only registered users may post comments.