Click or drag to resize
HTMLHelperEnsureLineEnding Method

Note: This API is now obsolete.

Ensures proper line ending within the given string.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use CMS.Helpers.TextHelper.EnsureLineEndings() method instead.")]
public static string EnsureLineEnding(
	string text,
	string requiredLineEnd
)

Parameters

text
Type: SystemString
Text to process
requiredLineEnd
Type: SystemString
Required line ending string

Return Value

Type: String
See Also