JHStrConv.ToSBC2 Method (String, String)

DCSoft.DBUtilityGeneric

JHStrConvToSBC2 Method (String, 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 ToSBC2(
	string value,
	string filters
)

Parameters

value
Type: SystemString
要处理的字符串
filters
Type: SystemString
需要过滤不进行转换的字符,null 参数不启用

Return Value

Type: String
返回转换后的字符串
Remarks
全角空格为 12288,半角空格为 32 其他字符半角(33-126)与全角(65281-65374)的对应关系是:均相差 65248
See Also