MVault 0.0.1
|
All functions for working with DataStorage and csv. More...
Classes | |
class | mvlt::CsvParser |
A class for parsing csv files that provides data in a form similar to generators. More... | |
Functions | |
std::string | mvlt::FormatStringToCsv (const std::string &str) noexcept |
A function for converting a string to a csv field format. | |
All functions for working with DataStorage and csv.
|
noexcept |
A function for converting a string to a csv field format.
In csv files, the fields of one record are separated by commas. To store commas inside a field, the field is placed in double quotes.
To store quotes inside a field, the fields are placed in quotation marks, and all quotes inside the field are duplicated.
For example: string ",,"", will be turned into """,,""""". <br> Detailed description of each symbol: - " - a quotation mark to start escaping
[in] | str | the string to be converted |