 | 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
Syntaxpublic static string NormalizeIndentation(
string code
)
Public Shared Function NormalizeIndentation (
code As String
) As String
public:
static String^ NormalizeIndentation(
String^ code
)
static member NormalizeIndentation :
code : string -> string
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