so...
I am creating a program, and at some point it writes:
sitename.com : 1
longersitename : 1
short.com : 1
and I want to write it like:
sitename.com : 1
longersitename : 1
short.com : 1
I tried adding \t, the problem is it will then make somethin like:
sitename.com : 1
longersitename : 1
short.com : 1
How can I do this? Thanks!
Edit: Everyting is in the same string, code:
Console.WriteLine(allResults.Groups[1].Value.Replace("has: ", " : ").TrimEnd(Environment.NewLine.ToCharArray()).TrimStart(Environment.NewLine.ToCharArray()));
The " : " part is the part that needs to tab.
Edit: this is the string: (this is 1 string, with \n\r)
Unknown Site : 1 URL found.
Google Search : 3 URL found.
Youtube : 5 URL found.
Core : 1 URL found.
Console : 88 URL found.