C# 클래스 Hardly.StringHelpers

파일 보기 프로젝트 열기: hardlydifficult/HardlyBot

공개 메소드들

메소드 설명
AppendStrings ( this source, string stringsToAppend, string textBetween = null ) : string[]
GetAfter ( this source, string searchToken, bool firstOrLastInstance = true ) : string
GetBefore ( this source, string searchToken, bool firstOrLastInstance = true ) : string
GetBetween ( this source, string searchToken1, string searchToken2, bool firstOrLastInstance1 = true, bool firstOrLastInstance2 = true ) : string
GetNextLine ( this data, uint &index ) : string
IsEmpty ( this value ) : bool
IsLowercase ( this value ) : bool
IsTrimmed ( this value ) : bool
ToBytesEncoded ( this data ) : byte[]
ToCsv ( this values, string insertBetweenEach = ",", string insertBeforeEachValue = null, string insertAfterEachValue = null ) : string
ToHtmlSafePlainText ( this value ) : string
ToHtmlSafeTagText ( this value ) : string
ToHtmlSafeUrl ( this value ) : string
ToStringAzViaMod ( this i, bool includeUppercase = false, bool includeNumbers = false, char includedSymbols = null ) : string
ToStringAzViaMod ( this i, char availableChars ) : string
ToStringDecode ( this data ) : string
ToStringWithCommaAndDecimals ( this value, uint numberOfDecimals ) : string
ToStringWithCommas ( this value ) : string
Tokenize ( this source, string token = ",", bool includeToken = false ) : string[]

메소드 상세

AppendStrings() 공개 정적인 메소드

public static AppendStrings ( this source, string stringsToAppend, string textBetween = null ) : string[]
source this
stringsToAppend string
textBetween string
리턴 string[]

GetAfter() 공개 정적인 메소드

public static GetAfter ( this source, string searchToken, bool firstOrLastInstance = true ) : string
source this
searchToken string
firstOrLastInstance bool
리턴 string

GetBefore() 공개 정적인 메소드

public static GetBefore ( this source, string searchToken, bool firstOrLastInstance = true ) : string
source this
searchToken string
firstOrLastInstance bool
리턴 string

GetBetween() 공개 정적인 메소드

public static GetBetween ( this source, string searchToken1, string searchToken2, bool firstOrLastInstance1 = true, bool firstOrLastInstance2 = true ) : string
source this
searchToken1 string
searchToken2 string
firstOrLastInstance1 bool
firstOrLastInstance2 bool
리턴 string

GetNextLine() 공개 정적인 메소드

public static GetNextLine ( this data, uint &index ) : string
data this
index uint
리턴 string

IsEmpty() 공개 정적인 메소드

public static IsEmpty ( this value ) : bool
value this
리턴 bool

IsLowercase() 공개 정적인 메소드

public static IsLowercase ( this value ) : bool
value this
리턴 bool

IsTrimmed() 공개 정적인 메소드

public static IsTrimmed ( this value ) : bool
value this
리턴 bool

ToBytesEncoded() 공개 정적인 메소드

public static ToBytesEncoded ( this data ) : byte[]
data this
리턴 byte[]

ToCsv() 공개 정적인 메소드

public static ToCsv ( this values, string insertBetweenEach = ",", string insertBeforeEachValue = null, string insertAfterEachValue = null ) : string
values this
insertBetweenEach string
insertBeforeEachValue string
insertAfterEachValue string
리턴 string

ToHtmlSafePlainText() 공개 정적인 메소드

public static ToHtmlSafePlainText ( this value ) : string
value this
리턴 string

ToHtmlSafeTagText() 공개 정적인 메소드

public static ToHtmlSafeTagText ( this value ) : string
value this
리턴 string

ToHtmlSafeUrl() 공개 정적인 메소드

public static ToHtmlSafeUrl ( this value ) : string
value this
리턴 string

ToStringAzViaMod() 공개 정적인 메소드

public static ToStringAzViaMod ( this i, bool includeUppercase = false, bool includeNumbers = false, char includedSymbols = null ) : string
i this
includeUppercase bool
includeNumbers bool
includedSymbols char
리턴 string

ToStringAzViaMod() 공개 정적인 메소드

public static ToStringAzViaMod ( this i, char availableChars ) : string
i this
availableChars char
리턴 string

ToStringDecode() 공개 정적인 메소드

public static ToStringDecode ( this data ) : string
data this
리턴 string

ToStringWithCommaAndDecimals() 공개 정적인 메소드

public static ToStringWithCommaAndDecimals ( this value, uint numberOfDecimals ) : string
value this
numberOfDecimals uint
리턴 string

ToStringWithCommas() 공개 정적인 메소드

public static ToStringWithCommas ( this value ) : string
value this
리턴 string

Tokenize() 공개 정적인 메소드

public static Tokenize ( this source, string token = ",", bool includeToken = false ) : string[]
source this
token string
includeToken bool
리턴 string[]