C# Class sb.Core.Utils.Text

显示文件 Open project: slicebuild/sb

Public Methods

Method Description
IsDigit ( this ch ) : bool
IsEmpty ( this s ) : bool
Split ( this text, string sep, bool removeEmpties = true ) : string[]
ToStream ( this text ) : Stream
TrimQuotes ( this text ) : string

Method Details

IsDigit() public static method

public static IsDigit ( this ch ) : bool
ch this
return bool

IsEmpty() public static method

public static IsEmpty ( this s ) : bool
s this
return bool

Split() public static method

public static Split ( this text, string sep, bool removeEmpties = true ) : string[]
text this
sep string
removeEmpties bool
return string[]

ToStream() public static method

public static ToStream ( this text ) : Stream
text this
return Stream

TrimQuotes() public static method

public static TrimQuotes ( this text ) : string
text this
return string