Click or drag to resize

StringUtilsNormalizeIndentation Method

Strips any common white space from all lines of text that have the same common white space text. Effectively removes common code indentation from code blocks for example so you can get a left aligned code snippet.

Namespace:  Koden.Utils
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static string NormalizeIndentation(
	string code
)

Parameters

code
Type: SystemString

[Missing <param name="code"/> documentation for "M:Koden.Utils.StringUtils.NormalizeIndentation(System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Koden.Utils.StringUtils.NormalizeIndentation(System.String)"]

See Also