类库说明文档
JHStrConvToDBC2 Method (String) |
将字符串转换成半角字符
Namespace: DCSoft.Utility.Text
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static string ToDBC2( string value )
Parameters
- value
- Type: SystemString
要处理的字符串
Return Value
Type: String返回转换后的字符串
Remarks
全角空格为 12288,半角空格为 32
其他字符半角(33-126)与全角(65281-65374)的对应关系是:均相差 65248
See Also