Click or drag to resize
TextHelperLimitFileNameLength Method
Limits the filename length (leaves extension).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static string LimitFileNameLength(
	string fileName,
	int maxLength
)

Parameters

fileName
Type: SystemString
File name
maxLength
Type: SystemInt32
Max length

Return Value

Type: String
See Also