System::String::Substring 方法

String::Substring(int32_t) const method

提取子字符串。

String System::String::Substring(int32_t startIndex) const
参数类型描述
startIndexint32_t子字符串的起始索引。

ReturnValue

已提取的子字符串。

另见

String::Substring(int32_t, int32_t) const method

提取子字符串。

String System::String::Substring(int32_t startIndex, int32_t length) const
参数类型描述
startIndexint32_t子字符串的起始索引。
长度int32_t子字符串的长度。

ReturnValue

已提取的子字符串。

另见