Declaration
public static string RemoveCommonIndentation(
this string str
)
Summary
Removes spaces from the beginning of every line in such a way that the smallest indentation is reduced to
zero. Lines which contain only whitespace are not considered in the calculation and may therefore become
empty.
Parameters
this string | str |
The string to transform. |