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, 2019 • Updated: 06/23/19
Comment or report problem with topic