C# Class Glass.Imaging.Core.StringExtensions

Exibir arquivo Open project: SuperJMN/Glass

Public Methods

Method Description
CollapseSpaces ( this value ) : string
GetChunks ( this str ) : IEnumerable
RemoveDiacritics ( this str ) : string
ToInt32 ( this str ) : int
Truncate ( this str, int length ) : string
TryParseToInt32 ( this str ) : int?

Method Details

CollapseSpaces() public static method

public static CollapseSpaces ( this value ) : string
value this
return string

GetChunks() public static method

public static GetChunks ( this str ) : IEnumerable
str this
return IEnumerable

RemoveDiacritics() public static method

public static RemoveDiacritics ( this str ) : string
str this
return string

ToInt32() public static method

public static ToInt32 ( this str ) : int
str this
return int

Truncate() public static method

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

TryParseToInt32() public static method

public static TryParseToInt32 ( this str ) : int?
str this
return int?