Limits length of the given plain text.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- textObj
- Type:
System Object
Plain text to limit (Text containing HTML tags is not supported)
- maxLength
- Type:
System Int32
Maximum text length
- padString
- Type:
System String
Trimming postfix
- wholeWords
- Type:
System Boolean
If true, the text won't be cut in the middle of the word
Return Value
Type:
See Also