C# Класс MarkedNet.StringHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

DecodeURIComponent() публичный статический Метод

public static DecodeURIComponent ( string str ) : string
str string
Результат string

Escape() публичный статический Метод

public static Escape ( string html, bool encode = false ) : string
html string
encode bool
Результат string

Exec() публичный статический Метод

public static Exec ( this regex, string src ) : IList
regex this
src string
Результат IList

Match() публичный статический Метод

public static Match ( this src, Regex regex ) : string[]
src this
regex System.Text.RegularExpressions.Regex
Результат string[]

NotEmpty() публичный статический Метод

public static NotEmpty ( IList source, int index1, int index2 ) : string
source IList
index1 int
index2 int
Результат string

ReplaceRegex() публичный статический Метод

public static ReplaceRegex ( this input, string pattern, string replacement ) : string
input this
pattern string
replacement string
Результат string

SplitRegex() публичный статический Метод

public static SplitRegex ( this input, string pattern ) : IList
input this
pattern string
Результат IList

Unescape() публичный статический Метод

public static Unescape ( string html ) : string
html string
Результат string