C# Class Ywdsoft.Utility.StringExt

Datei anzeigen Open project: CrazyJson/TaskManager

Public Methods

Method Description
FormatStringLength ( this str, int displayLength ) : string

格式化超过指定长度的字符串,显示截取后字符串加...

Method Details

FormatStringLength() public static method

格式化超过指定长度的字符串,显示截取后字符串加...
public static FormatStringLength ( this str, int displayLength ) : string
str this 字符串
displayLength int 能显示的字节长度
return string