Method | Description | |
---|---|---|
GetOrEmpty ( this str ) : string | ||
IsNullOrEmpty ( this str ) : bool | ||
IsNullOrWhiteSpace ( this str ) : bool | ||
Md5ToBytes ( this input ) : byte[] |
将字符串MD5加密为字节数组
|
|
Md5ToString ( this input ) : string |
将字符串MD5加密为字符串
|
|
RegexReplace ( this str, string rex, string replacement ) : string | ||
ToBytes ( this input, |
||
ToUTF8Bytes ( this input ) : byte[] | ||
UrlEncode ( this url ) : string |
public static GetOrEmpty ( this str ) : string | ||
str | this | |
return | string |
public static IsNullOrEmpty ( this str ) : bool | ||
str | this | |
return | bool |
public static IsNullOrWhiteSpace ( this str ) : bool | ||
str | this | |
return | bool |
public static Md5ToBytes ( this input ) : byte[] | ||
input | this | |
return | byte[] |
public static Md5ToString ( this input ) : string | ||
input | this | |
return | string |
public static RegexReplace ( this str, string rex, string replacement ) : string | ||
str | this | |
rex | string | |
replacement | string | |
return | string |
public static ToBytes ( this input, |
||
input | this | |
encoding | ||
return | byte[] |
public static ToUTF8Bytes ( this input ) : byte[] | ||
input | this | |
return | byte[] |
public static UrlEncode ( this url ) : string | ||
url | this | |
return | string |