SyntaxFix
Write A Post
Hire A Developer
Questions
Add the following 2 lines
var regex = new Regex(Regex.Escape(",")); sb_trim = regex.Replace(sb_trim, " ", 1);
If sb_trim= John,Smith,100000,M the above code will return "John Smith,100000,M"