TextHelperLimitFileNameLength Method |
Limits the filename length (leaves extension).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string LimitFileNameLength(
string fileName,
int maxLength
)
Parameters
- fileName
- Type: SystemString
File name - maxLength
- Type: SystemInt32
Max length
Return Value
Type:
StringSee Also