StringHelper.GetStrLength Method

HD.Common

StringHelperGetStrLength Method Helper帮助文档
得到字符串长度,一个汉字长度为2

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

public static int GetStrLength(
	string inputString
)
Public Shared Function GetStrLength ( 
	inputString As String
) As Integer
public:
static int GetStrLength(
	String^ inputString
)
static member GetStrLength : 
        inputString : string -> int 

Parameters

inputString
Type: SystemString
参数字符串

Return Value

Type: Int32

[Missing <returns> documentation for "M:HD.Common.StringHelper.GetStrLength(System.String)"]

See Also

Reference