StringHelper.ToSBC Method

HD.Common

StringHelperToSBC Method Helper帮助文档
半角转全角的函数(SBC case)

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static string ToSBC(
	string input
)
Public Shared Function ToSBC ( 
	input As String
) As String
public:
static String^ ToSBC(
	String^ input
)
static member ToSBC : 
        input : string -> string 

Parameters

input
Type: SystemString
任意字符串

Return Value

Type: String
全角字符串
Remarks

全角空格为12288,半角空格为32 其他字符半角(33-126)与全角(65281-65374)的对应关系是:均相差65248
See Also

Reference