cString: Join

Join

Joins an array or subarray of strings into a single string, separated by the Delimiter.



 Public Function Join(
	  ByRef Arr As Variant,
	  Optional ByRef Delimiter As Variant,
	  Optional ByRef Index As Variant,
	  Optional ByRef Count As Variant ) As String

Parameters

Arr
[ByRef] Variant. An array of strings or variants to join together.
Delimiter
[ByRef] Optional. Variant. A string inserted between each element when joining into a string.
Index
[ByRef] Optional. Variant. The starting element in Arr to begin joining from.
Count
[ByRef] Optional. Variant. The number of strings elements to join together.

Return Values

String -  A string containing elements joined from the array separated by the delimiter.

Remarks

See Also

Project VBCorLib Overview Class cString Overview cString Properties cString Methods IsNull LastIndexOfAny