Click or drag to resize
TextHelperEnsureIndentation Method
Ensures the specified line endings in the given text.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string EnsureIndentation(
	string text,
	int level,
	string indentString = ""
)

Parameters

text
Type: SystemString
Text to process
level
Type: SystemInt32
Level of the indentation
indentString (Optional)
Type: SystemString
New line ending

Return Value

Type: String
See Also