System::String::Join 方法
内容
[
隐藏
]String::Join(const String&, const ArrayPtr<SharedPtr<Object>>&) method
使用字符串作为分隔符连接数组。
static String System::String::Join(const String &separator, const ArrayPtr<SharedPtr<Object>> &parts)
| 参数 | 类型 | 描述 |
|---|---|---|
| separator | const String& | String 用于在连接时放置在数组元素之间。 |
| parts | const ArrayPtr<SharedPtr<Object>>& | Array 要连接的部分数组。 |
ReturnValue
String representing joint elements.
另见
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Object
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Join(const String&, const ArrayPtr<String>&, int, int) method
使用字符串作为分隔符连接数组。
static String System::String::Join(const String &separator, const ArrayPtr<String> &parts, int startIndex=0, int count=-1)
| 参数 | 类型 | 描述 |
|---|---|---|
| separator | const String& | String 用于在连接时放置在数组元素之间。 |
| parts | const ArrayPtr<String>& | Array 要连接的部分数组。 |
| startIndex | int | 数组中开始连接的起始索引。 |
| count | int | 要连接的数组元素数量。-1 表示“直到数组结束”。 |
ReturnValue
String representing joint array elements.
另见
- Class String
- Typedef ArrayPtr
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Join(const String&, const SharedPtr<System::Collections::Generic::IEnumerable<String>>&) method
使用字符串作为分隔符连接数组。
static String System::String::Join(const String &separator, const SharedPtr<System::Collections::Generic::IEnumerable<String>> &parts)
| 参数 | 类型 | 描述 |
|---|---|---|
| separator | const String& | String 用于在连接时放置在数组元素之间。 |
| 部分 | const SharedPtr<System::Collections::Generic::IEnumerable<String>>& | - 部分 可枚举对象 |
ReturnValue
String representing joint elements.
另见
- Class String
- Typedef SharedPtr
- Class IEnumerable
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Join(const String&, const System::Details::ArrayView<String>&, int, int) method
使用字符串作为分隔符连接数组。
static String System::String::Join(const String &separator, const System::Details::ArrayView<String> &parts, int startIndex=0, int count=-1)
| 参数 | 类型 | 描述 |
|---|---|---|
| separator | const String& | String 用于在连接时放置在数组元素之间。 |
| 部分 | const System::Details::ArrayView<String>& | 要连接的部分的 ArrayView。 |
| startIndex | int | 数组中开始连接的起始索引。 |
| count | int | 要连接的数组元素数量。-1 表示“直到数组结束”。 |
ReturnValue
String representing joint array elements.
另见
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++