TextHelperLimitFileNameLength Method |
Limits the filename length (leaves extension).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
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