HtmlEscape(input, leaveSingleQuotesAlone, leaveDoubleQuotesAlone) Indent(str, by, indentFirstLine) ParseInt(str, default_, style, provider) Replace(str, oldValue, newValue, comparison)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: string RemoveCommonIndentation(this string)Declarationpublic 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. Parametersthis string | str |
The string to transform. |
|