C# Class MarkedNet.StringHelper

Mostrar archivo Open project: T-Alex/MarkedNet

Public Methods

Method Description
DecodeURIComponent ( string str ) : string
Escape ( string html, bool encode = false ) : string
Exec ( this regex, string src ) : IList
Match ( this src, Regex regex ) : string[]
NotEmpty ( IList source, int index1, int index2 ) : string
ReplaceRegex ( this input, string pattern, string replacement ) : string
SplitRegex ( this input, string pattern ) : IList
Unescape ( string html ) : string

Method Details

DecodeURIComponent() public static method

public static DecodeURIComponent ( string str ) : string
str string
return string

Escape() public static method

public static Escape ( string html, bool encode = false ) : string
html string
encode bool
return string

Exec() public static method

public static Exec ( this regex, string src ) : IList
regex this
src string
return IList

Match() public static method

public static Match ( this src, Regex regex ) : string[]
src this
regex System.Text.RegularExpressions.Regex
return string[]

NotEmpty() public static method

public static NotEmpty ( IList source, int index1, int index2 ) : string
source IList
index1 int
index2 int
return string

ReplaceRegex() public static method

public static ReplaceRegex ( this input, string pattern, string replacement ) : string
input this
pattern string
replacement string
return string

SplitRegex() public static method

public static SplitRegex ( this input, string pattern ) : IList
input this
pattern string
return IList

Unescape() public static method

public static Unescape ( string html ) : string
html string
return string