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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static string EnsureLineEndings(
	string text,
	string lineEnd
)

Parameters

text
Type: SystemString
Text to process
lineEnd
Type: SystemString
New line ending

Return Value

Type: String
See Also