C# Class msos.StringExtensions

显示文件 Open project: goldshtn/msos

Public Methods

Method Description
TrimEndToLength ( this str, int length ) : string
TrimStartToLength ( this str, int length ) : string

Method Details

TrimEndToLength() public static method

public static TrimEndToLength ( this str, int length ) : string
str this
length int
return string

TrimStartToLength() public static method

public static TrimStartToLength ( this str, int length ) : string
str this
length int
return string