# MyStringJoin Method

## Overloads

| [MyStringJoin(IEnumerable<String>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.MyStringJoin.htm#PIX_SupportFunctions_MyStringJoin_System_Collections_Generic_IEnumerable_System_String__) |  | Returns a comma-separated list of the items -- unless it only contains exactly TWO items,<br>then it returns the two values separated by " and ". |
| --- | --- | --- |

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

## MyStringJoin(IEnumerable&lt;String&gt;)

Returns a comma-separated list of the items -- unless it only contains exactly TWO items, then it returns the two values separated by " and ".

### Declaration

```

          public static string MyStringJoin(IEnumerable<string> iList)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | iList |  |

### Returns

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