C# 클래스 Simplify.String.StringHelper

Strings operations helper class
파일 보기 프로젝트 열기: i4004/Simplify.Web

공개 메소드들

메소드 설명
IndistinctMatching ( string stringA, string stringB, int comparingBlockLength = 3 ) : float

Indistinct matching of the two strings.

ParseMobilePhone ( string phone ) : string

Parse and convert mobile phone to format like +77015543456

StripHtmlTags ( string source ) : string

Strips the HTML tags of the strings.

ValidateEMail ( string eMail ) : bool

Checking if e-mail address is correct

ValidateMobilePhone ( string phone ) : bool

Checking if mobile phone is correct

비공개 메소드들

메소드 설명
Matching ( string stringA, string stringB, int length ) : RetCount

메소드 상세

IndistinctMatching() 공개 정적인 메소드

Indistinct matching of the two strings.
public static IndistinctMatching ( string stringA, string stringB, int comparingBlockLength = 3 ) : float
stringA string The string a.
stringB string The string b.
comparingBlockLength int Length of the comparing block.
리턴 float

ParseMobilePhone() 공개 정적인 메소드

Parse and convert mobile phone to format like +77015543456
public static ParseMobilePhone ( string phone ) : string
phone string Mobile phone source string
리턴 string

StripHtmlTags() 공개 정적인 메소드

Strips the HTML tags of the strings.
public static StripHtmlTags ( string source ) : string
source string The source string.
리턴 string

ValidateEMail() 공개 정적인 메소드

Checking if e-mail address is correct
public static ValidateEMail ( string eMail ) : bool
eMail string E-mail address
리턴 bool

ValidateMobilePhone() 공개 정적인 메소드

Checking if mobile phone is correct
public static ValidateMobilePhone ( string phone ) : bool
phone string Mobile phone number
리턴 bool