SyntaxFix
Write A Post
Hire A Developer
Questions
string[] lines = Regex.Split(value, ".{5}"); string out = ""; foreach (string line in lines) { out += "-" + line; } out = out.Substring(1);