Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
命名空间:
DSkin.Html.Core.Utils
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public string Substring(
int startIdx,
int length
)
参数
- startIdx
- 类型:SystemInt32
The zero-based starting character position of a substring in this instance. - length
- 类型:SystemInt32
The number of characters in the substring.
返回值
类型:
StringA String equivalent to the substring of length length that begins at startIndex in this instance, or
Empty if startIndex is equal to the length of this instance and length is zero.
参见