Method toCSV documentation
Returns a CSV string from the given array of arrays or objects.
Example
```javascript
bbn.fn.toCSV([['a', 'b', 'c'], ['d', 'e', 'f']]);
// "a","b","c";
// "d","e","f"
```
Example
```javascript
bbn.fn.toCSV([{name: "Capuche", fname: "Marc-Antoine"}, {name: "Orfin", fname: "Louis"}]);
// "Capuche","Marc-Antoine";
// "Orfin","Louis"
```
Returns a CSV string from the given array of arrays or objects. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2024
BBN Solutions