NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

String.Join (String, String[], Int32, Int32)

Joins an array of strings together as one string with a separator between each original string, starting at the specification location in the array.

[Visual Basic]
Overloads Public Shared Function Join( _
   ByVal separator As String, _
   ByVal value() As String, _
   ByVal startIndex As Integer, _
   ByVal count As Integer _
) As String
[C#]
public static string Join(
   string separator,
   string[] value,
   int startIndex,
   int count
);
[C++]
public: static String* Join(
   String* separator,
   String* value[],
   int startIndex,
   int count
);
[JScript]
public static function Join(
   separator : String,
   value : String[],
   startIndex : int,
   count : int
) : String;

Parameters

separator
The string used as a separator.
value
The array of strings to be joined.
startIndex
The position within the array to start using strings.
count
The number of strings to take from the array.

Return Value

A string that consists of the strings in value joined by the separator.

Remarks

This Join method makes a string that consists of the strings contained in value, starting at the position indicated by startIndex and removing a predetermined number of strings (startIndex to startIndex plus count), then joining them together to form a single string with each of the original strings separated by separator.

See Also

String Class | String Members | System Namespace | String.Join Overload List