Limits the string length.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- text
- Type: System String
Text to trim
- maxLength
- Type: System Int32
Max length
- padString
- Type: System String
Trim character
- wholeWords
- Type: System Boolean
If true, the text won't be cut in the middle of the word
Return Value
Type: StringSee Also