StringUtils.NormalizeIndentation

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.

public static string NormalizeIndentation(string code)

Parameters

code


See also:

Class StringUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic