TextHelperEnsureIndentation Method (String, Int32, String) |
Ensures the specified line endings in the given text.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax 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
- Type: SystemString
New line ending
Return Value
Type:
StringSee Also