String..::..Join Method (String, array<String>[]()[][], Int32, Int32)
Concatenates the specified elements of a string array, using the specified separator between each element.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- separator
- Type: System..::..String
The string to use as a separator. separator is included in the returned string only if value has more than one element.
- args
- Type: array<System..::..String>[]()[][]
- startIndex
- Type: System..::..Int32
The first element in value to use.
- count
- Type: System..::..Int32
The number of elements of value to use.
Return Value
A string that consists of the strings in value delimited by the separator string. -or-Empty if count is zero, value has no elements, or separator and all the elements of value are Empty.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | value is null. |
System..::..ArgumentOutOfRangeException | startIndex or count is less than 0.-or- startIndex plus count is greater than the number of elements in value. |
System..::..OutOfMemoryException | Out of memory. |