WikiCrawler/Utility/StringUtility.cs
/// <summary>
/// Removes all whitespace that starts a line.
/// </summary>
Removes all whitespace that starts a line.
Removes all whitespace that starts a line .
public static string RemoveIndentation(this string text)
	{
		string[] lines = text.Split(RawLineBreak, System.StringSplitOptions.None);
		string result = "";
		foreach (string line in lines)
		{
			result = Join("\n", result, line.TrimStart());
		}
		return result;
	}
public static string RemoveIndentation ( this string text ) { string [ ] lines = text . Split ( RawLineBreak , System . StringSplitOptions . None ) ; string result = " " ; foreach ( string line in lines ) { result = Join ( " \n " , result , line . TrimStart ( ) ) ; } return result ; }
Removes all whitespace that starts a line.
Removes all whitespace that starts a line .
string
this