![]() | StringEx 方法 |
StringEx 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() ![]() | After |
Gets the string after the given string parameter.
|
![]() ![]() | Base64Decode(String) |
Decodes a Base 64 encoded value to a string using the default encoding.
|
![]() ![]() | Base64Decode(String, Encoding) |
Decodes a Base 64 encoded value to a string using the supplied encoding.
|
![]() ![]() | Base64Encode(String) |
Encodes the input value to a Base64 string using the default encoding.
|
![]() ![]() | Base64Encode(String, Encoding) |
Encodes the input value to a Base64 string using the supplied encoding.
|
![]() ![]() | Before |
Gets the string before the given string parameter.
|
![]() ![]() | Between |
Gets the string between the given string parameters.
|
![]() ![]() | DealPath |
处理文件夹名称末尾加文件夹分隔符(windows为\,linux为/)
|
![]() ![]() | DesDecrypt |
DES解密
|
![]() ![]() | DesEncrypt |
DES加密
|
![]() ![]() | EqualsIgnoreCase(String, String) | 忽略大小写的字符串相等比较,判断是否以任意一个待比较字符串相等 |
![]() ![]() | EqualsIgnoreCase(String, String) | 忽略大小写的字符串相等比较,判断是否以任意一个待比较字符串相等 |
![]() ![]() | FormatString |
浮点数的格式化字符串(例如:0.00)
|
![]() ![]() | GZipCompress |
压缩字符串
|
![]() ![]() | GZipDecompress |
解压缩字符串
|
![]() ![]() | HasCnChar |
检测是否有中文字符
|
![]() ![]() | IfEmpty |
字符串为空时返回缺省值,不为空时直接返回原字符串
|
![]() ![]() | IsBoolean |
是否是布尔字符串
|
![]() ![]() | IsByte |
是否是Byte字符串
|
![]() ![]() | IsChar |
是否是Char字符串
|
![]() ![]() | IsDateTime |
是否是日期字符串
|
![]() ![]() | IsDecimal |
是否是Decima字符串
|
![]() ![]() | IsDouble |
是否是Double字符串
|
![]() ![]() | IsFloat |
是否是Float字符串转换
|
![]() ![]() | IsGuid |
是否是Guid字符串
|
![]() ![]() | IsInt |
是否是Int字符串
|
![]() ![]() | IsIP4 |
字符串是否为IP地址
|
![]() ![]() | IsLong |
是否是Long字符串
|
![]() ![]() | IsMail |
检测输入的邮件地址是否合法,非法则返回true。
|
![]() ![]() | IsNameSpace |
是否是命名空间
|
![]() ![]() | IsNullOrEmpty |
指示指定的字符串是 null还是 Empty 字符串。
|
![]() ![]() | IsNullOrWhiteSpace |
指示指定的字符串是 null、空还是仅由空白字符组成。
|
![]() ![]() | IsNumber |
是否数字字符串
|
![]() ![]() | IsNumberWithSign |
是否数字字符串 可带正负号
|
![]() ![]() | IsPureEnglishChar |
是否是纯英文字母
|
![]() ![]() | IsSByte |
是否是SByte字符串
|
![]() ![]() | IsShort |
是否是Short字符串
|
![]() ![]() | IsUInt |
是否是UInt字符串
|
![]() ![]() | IsULong |
是否是ULong字符串
|
![]() ![]() | IsUShort |
是否是UShort字符串
|
![]() ![]() | IsValid |
指示指定的字符串是 null还是 Empty 字符串。
|
![]() ![]() | Left |
字符串左侧按长度截取后的字符串
|
![]() ![]() | Md5String |
使用utf8编码将字符串散列
|
![]() ![]() | Middle |
字符串中间按长度截取后的字符串
|
![]() ![]() | MyDecrypt |
DES解密
|
![]() ![]() | MyEncrypt |
DES加密
|
![]() ![]() | RemoveLeft |
Return the string with the leftmost number_of_characters characters removed.
|
![]() ![]() | RemoveRight |
Return the string with the rightmost number_of_characters characters removed.
|
![]() ![]() | Repet |
字符串重复显示
|
![]() ![]() | Reverse |
字符串反转
|
![]() ![]() | Right |
字符串右侧按长度截取后的字符串
|
![]() ![]() | SHA1Hash |
Calculates the SHA1 hash of the supplied string and returns a base 64 string.
|
![]() ![]() | Split |
分割字符串
|
![]() ![]() | SplitBeforeLast |
以分隔符分割的最后一个字符串之前的字符串
|
![]() ![]() | SplitFirst |
以分隔符分割后的第一个字符串
|
![]() ![]() | SplitIndex |
返回字符串分割后指定索引的字符串
|
![]() ![]() | SplitLast |
以分隔符分割后的最后一个字符串
|
![]() ![]() | SplitSeparatorCount |
字符串包含分隔符的个数
|
![]() ![]() | ToBoolean |
字符串转换
|
![]() ![]() | ToByte |
字符串转换
|
![]() ![]() | ToChar |
字符串转换
|
![]() ![]() | ToDateTime(String, DateTime) |
字符串转换
|
![]() ![]() | ToDateTime(String, String) |
字符串转换为日期
|
![]() ![]() | ToDateTimeEx |
字符串转换为日期
|
![]() ![]() | ToDecimal |
字符串转换
|
![]() ![]() | ToDouble |
字符串转换
|
![]() ![]() | ToEnBytes |
英文字符串转换为ASCII编码的数组
|
![]() ![]() | ToEncodeBytes |
字符串按指定编码转换为数组
|
![]() ![]() | ToEncodeString |
数组按指定编码转换为字符串
|
![]() ![]() | ToEnString |
ASCII编码的数组转换为英文字符串
|
![]() ![]() | ToFloat |
字符串转换
|
![]() ![]() | ToGuid |
字符串转换
|
![]() ![]() | ToInt |
字符串转换
|
![]() ![]() | ToLong |
字符串转换
|
![]() ![]() | ToSByte |
字符串转换
|
![]() ![]() | ToSecureString |
Converts a regular string into SecureString
|
![]() ![]() | ToShort |
字符串转换
|
![]() ![]() | ToUInt |
字符串转换
|
![]() ![]() | ToULong |
字符串转换
|
![]() ![]() | ToUnSecureString |
Coverts the SecureString to a regular string.
|
![]() ![]() | ToUShort |
字符串转换
|
![]() ![]() | TrimToMaxLength |
截取指定长度的字符串
|