# NaturalJoin Method

## Overloads

| [NaturalJoin<T>(IEnumerable<T>, String)](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.NaturalJoin.htm#PIX_SupportFunctions_NaturalJoin__1_System_Collections_Generic_IEnumerable___0__System_String_) |  | Constructs a comma-separated list of the items, but the last pair are combined with the 'lastDivider'-string (defaults to " and "). |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.NaturalJoin.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.NaturalJoin.htm)

## NaturalJoin&lt;T&gt;(IEnumerable&lt;T&gt;, String)

Constructs a comma-separated list of the items, but the last pair are combined with the 'lastDivider'-string (defaults to " and ").

### Declaration

```

          public static string NaturalJoin<T>(IEnumerable<T> items, string lastDivider = " and ")
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;T&gt; | items |  |
| System.String | lastDivider |  |

### Returns

| Type | Description |
| --- | --- |
| System.String |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |