Click or drag to resize
TextHelperEnsureMaximumLineLength Method (String, Int32)
Limits the line length of given plain text.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string EnsureMaximumLineLength(
	string text,
	int maxLength
)

Parameters

text
Type: SystemString
Text to process
maxLength
Type: SystemInt32
Max line length

Return Value

Type: String
See Also