 | ValidateUtilGetStringLength 方法 |
Sweet 开发框架
返回字符串真实长度, 1个汉字长度为2
命名空间:
Sweet.Common.DoNetCode
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static int GetStringLength(
string stringValue
)
Public Shared Function GetStringLength (
stringValue As String
) As Integer
static member GetStringLength :
stringValue : string -> int
参数
- stringValue
- 类型:SystemString
[缺少 "M:Sweet.Common.DoNetCode.ValidateUtil.GetStringLength(System.String)" 的 <param name="stringValue"/> 文档]
返回值
类型:
Int32字符长度
参见