getvaluesafe - eisclimber/ExPresS-XR GitHub Wiki
Method in CsvUtility
Converts any arbitrary value to a safe CSV column entry with the provided separator. This is done by using the DEFAULT_ESCAPE_CHAR to surround the value.
public static string GetValueSafe<T>(T value, char sep = DEFAULT_COLUMN_SEPARATOR)| Name | Description |
|---|---|
T value |
Values to be converted to a safe CSV column entry. |
char sep |
Separator character (Default: DataGatherer.DEFAULT_COLUMN_SEPARATOR). |
| Name | Description |
|---|---|
| T | Type to be converted. |
A (if required CSV-escaped) string.