System::String::Join method

String::Join(const String&, const ArrayPtr<SharedPtr<Object>>&) method

Joins array using string as separator.

static String System::String::Join(const String &separator, const ArrayPtr<SharedPtr<Object>> &parts)
ParameterTypeDescription
separatorconst String&String to put between array elements when joining them.
partsconst ArrayPtr<SharedPtr<Object>>&Array of parts to join.

ReturnValue

String representing joint elements.

See Also

String::Join(const String&, const ArrayPtr<String>&, int, int) method

Joins array using string as separator.

static String System::String::Join(const String &separator, const ArrayPtr<String> &parts, int startIndex=0, int count=-1)
ParameterTypeDescription
separatorconst String&String to put between array elements when joining them.
partsconst ArrayPtr<String>&Array of parts to join.
startIndexintFirst index in array to start joining from.
countintNumber of array elements to join. -1 means ‘until array ends’.

ReturnValue

String representing joint array elements.

See Also

String::Join(const String&, const SharedPtr<System::Collections::Generic::IEnumerable<String>>&) method

Joins array using string as separator.

static String System::String::Join(const String &separator, const SharedPtr<System::Collections::Generic::IEnumerable<String>> &parts)
ParameterTypeDescription
separatorconst String&String to put between array elements when joining them.
partsconst SharedPtr<System::Collections::Generic::IEnumerable<String>>&- parts enumerable object

ReturnValue

String representing joint elements.

See Also

String::Join(const String&, const System::Details::ArrayView<String>&, int, int) method

Joins array using string as separator.

static String System::String::Join(const String &separator, const System::Details::ArrayView<String> &parts, int startIndex=0, int count=-1)
ParameterTypeDescription
separatorconst String&String to put between array elements when joining them.
partsconst System::Details::ArrayView<String>&ArrayView of parts to join.
startIndexintFirst index in array to start joining from.
countintNumber of array elements to join. -1 means ‘until array ends’.

ReturnValue

String representing joint array elements.

See Also