getCsvDelimiterValue()
Home > @gooddata/sdk-model > getCsvDelimiterValue
getCsvDelimiterValue() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the actual delimiter character for a given preset selection.
When the preset is "custom", the provided custom delimiter string is returned as-is.
Signature:
export declare function getCsvDelimiterValue(selectedPreset: CsvDelimiterPreset, customDelimiter: string): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
selectedPreset |
the selected preset identifier | |
|
customDelimiter |
string |
the user-provided custom delimiter (used only when preset is |
Returns:
string
the resolved delimiter character