C# Class MarkedNet.StringHelper

Afficher le fichier Open project: T-Alex/MarkedNet

Méthodes publiques

Méthode 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 méthode

public static DecodeURIComponent ( string str ) : string
str string
Résultat string

Escape() public static méthode

public static Escape ( string html, bool encode = false ) : string
html string
encode bool
Résultat string

Exec() public static méthode

public static Exec ( this regex, string src ) : IList
regex this
src string
Résultat IList

Match() public static méthode

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

NotEmpty() public static méthode

public static NotEmpty ( IList source, int index1, int index2 ) : string
source IList
index1 int
index2 int
Résultat string

ReplaceRegex() public static méthode

public static ReplaceRegex ( this input, string pattern, string replacement ) : string
input this
pattern string
replacement string
Résultat string

SplitRegex() public static méthode

public static SplitRegex ( this input, string pattern ) : IList
input this
pattern string
Résultat IList

Unescape() public static méthode

public static Unescape ( string html ) : string
html string
Résultat string