ArrayPrototype.join(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Concatenates the elements of the specified array into a string. The elements are separated by the specified separator.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ join(System::Object ^ thisob, System::Object ^ separator);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_join)]
public static string join (object thisob, object separator);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_join)>]
static member join : obj * obj -> string
Public Shared Function join (thisob As Object, separator As Object) As String
Parameters
- thisob
- Object
The object that this method is acting upon.
- separator
- Object
The string to use to separate the elements. The default is a comma.
Returns
A string that concatenates the elements of thisob
.
- Attributes