joinascsv 2 - eisclimber/ExPresS-XR GitHub Wiki
Method in CsvUtility
Joins the values into a CSV line using the given separator. Allows csv-escaping value individually. If the lists do not match in lengths, iteration will stop at the shorter one.
public static string JoinAsCsv<T>(IEnumerable<T> values, IEnumerable<bool> safeIndividual, char sep = DEFAULT_COLUMN_SEPARATOR)| Name | Description |
|---|---|
System.Collections.Generic.IEnumerable<T> values |
Values to be converted to a CSV line. |
System.Collections.Generic.IEnumerable<bool> safeIndividual |
A list of denoting if the column should be escaped. |
char sep |
Separator character (Default: DataGatherer.DEFAULT_COLUMN_SEPARATOR). |
| Name | Description |
|---|---|
| T | Type of values to be converted. |
A (csv)-string representation of the values-array.